RAJA
RAJA provides a collection of platform portability abstractions for C++ HPC applications.
sycl_compat.hpp
Go to the documentation of this file.
1 
11 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
12 // Copyright (c) Lawrence Livermore National Security, LLC and other
13 // RAJA Project Developers. See top-level LICENSE and COPYRIGHT
14 // files for dates and other details. No copyright assignment is required
15 // to contribute to RAJA.
16 //
17 // SPDX-License-Identifier: (BSD-3-Clause)
18 //~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~//
19 
20 #ifndef RAJA_util_sycl_compat_HPP
21 #define RAJA_util_sycl_compat_HPP
22 
23 #if defined(RAJA_SYCL_ACTIVE)
24 #if (__INTEL_CLANG_COMPILER && __INTEL_CLANG_COMPILER < 20230000)
25 // older version, use legacy header locations
26 #include <CL/sycl.hpp>
27 #else
28 // SYCL 2020 standard header
29 #include <sycl/sycl.hpp>
30 #endif
31 #endif
32 
33 #endif // RAJA_util_sycl_compat_HPP