summaryrefslogtreecommitdiffstats
path: root/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl/0001-half.hpp-Fixed-missing-include-for-F16C-intrinsics.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl/0001-half.hpp-Fixed-missing-include-for-F16C-intrinsics.patch')
-rw-r--r--dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl/0001-half.hpp-Fixed-missing-include-for-F16C-intrinsics.patch44
1 files changed, 0 insertions, 44 deletions
diff --git a/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl/0001-half.hpp-Fixed-missing-include-for-F16C-intrinsics.patch b/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl/0001-half.hpp-Fixed-missing-include-for-F16C-intrinsics.patch
deleted file mode 100644
index 4c8caaf2..00000000
--- a/dynamic-layers/openembedded-layer/recipes-oneapi/openvkl/openvkl/0001-half.hpp-Fixed-missing-include-for-F16C-intrinsics.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From 8b701e2b6989f7e071126989dd9453d7728d9a61 Mon Sep 17 00:00:00 2001
2From: Naveen Saini <naveen.kumar.saini@intel.com>
3Date: Wed, 7 Jul 2021 11:40:15 +0800
4Subject: [PATCH] half.hpp: Fixed missing include for F16C intrinsics
5
6Upstream-Status: Backport [https://sourceforge.net/p/half/code/415/]
7
8Ref:
9https://github.com/openvkl/openvkl/issues/12
10
11Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
12---
13 testing/external/half.hpp | 8 ++++----
14 1 file changed, 4 insertions(+), 4 deletions(-)
15
16diff --git a/testing/external/half.hpp b/testing/external/half.hpp
17index 69f2ffd..005043f 100644
18--- a/testing/external/half.hpp
19+++ b/testing/external/half.hpp
20@@ -266,10 +266,6 @@
21 #if HALF_ENABLE_CPP11_HASH
22 #include <functional>
23 #endif
24-#if HALF_ENABLE_F16C_INTRINSICS
25- #include <immintrin.h>
26-#endif
27-
28
29 #ifndef HALF_ENABLE_F16C_INTRINSICS
30 /// Enable F16C intruction set intrinsics.
31@@ -281,6 +277,10 @@
32 #define HALF_ENABLE_F16C_INTRINSICS __F16C__
33 #endif
34
35+#if HALF_ENABLE_F16C_INTRINSICS
36+ #include <immintrin.h>
37+#endif
38+
39 #ifdef HALF_DOXYGEN_ONLY
40 /// Type for internal floating-point computations.
41 /// This can be predefined to a built-in floating-point type (`float`, `double` or `long double`) to override the internal
42--
432.17.1
44