We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c15316 commit 1418329Copy full SHA for 1418329
1 file changed
dpcpp/base/math.hpp
@@ -8,6 +8,12 @@
8
#include <climits>
9
#include <cmath>
10
11
+#if GINKGO_DPCPP_MAJOR_VERSION < 7 || \
12
+ (GINKGO_DPCPP_MAJOR_VERSION == 7 && GINKGO_DPCPP_MINOR_VERSION < 1)
13
+// bit_cast.hpp became self-contained during SYCL 7.0
14
+// ref: https://github.com/intel/llvm/pull/9684
15
+#include <sycl/detail/defines_elementary.hpp>
16
+#endif
17
#include <sycl/bit_cast.hpp>
18
#include <sycl/half_type.hpp>
19
0 commit comments