File tree 5 files changed +12
-4
lines changed
5 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 24
24
25
25
#if defined(RAJA_SYCL_ACTIVE)
26
26
27
- #include < CL/sycl .hpp>
27
+ #include " RAJA/util/sycl_compat .hpp"
28
28
29
29
#include " RAJA/policy/sycl/forall.hpp"
30
30
#include " RAJA/policy/sycl/policy.hpp"
Original file line number Diff line number Diff line change 23
23
24
24
#if defined(RAJA_ENABLE_SYCL)
25
25
26
- #include < sycl/sycl .hpp>
26
+ #include " RAJA/util/sycl_compat .hpp"
27
27
28
28
#include < cassert>
29
29
#include < cstddef>
Original file line number Diff line number Diff line change 26
26
27
27
#if defined(RAJA_ENABLE_SYCL)
28
28
29
- #include < sycl/sycl.hpp>
30
29
#include < algorithm>
31
30
#include < chrono>
32
31
32
+ #include " RAJA/util/sycl_compat.hpp"
33
+
33
34
#include " RAJA/pattern/forall.hpp"
34
35
35
36
#include " RAJA/pattern/params/forall.hpp"
Original file line number Diff line number Diff line change 22
22
23
23
#if defined(RAJA_SYCL_ACTIVE)
24
24
25
- #include < sycl/sycl .hpp>
25
+ #include " RAJA/util/sycl_compat .hpp"
26
26
27
27
#include " RAJA/policy/PolicyBase.hpp"
28
28
#include " RAJA/policy/sequential/policy.hpp"
Original file line number Diff line number Diff line change
1
+ #if (__INTEL_CLANG_COMPILER && __INTEL_CLANG_COMPILER < 20230000)
2
+ // older version, use legacy header locations
3
+ #include < CL/sycl.hpp>
4
+ #else
5
+ // SYCL 2020 standard header
6
+ #include < sycl/sycl.hpp>
7
+ #endif
You can’t perform that action at this time.
0 commit comments