Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions sycl/include/CL/sycl/feature_test.hpp.in
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ __SYCL_INLINE_NAMESPACE(cl) {
namespace sycl {

#define SYCL_BACKEND_OPENCL 1

// Feature test macro definitions

// TODO: Move these feature-test macros to compiler driver.
Expand Down Expand Up @@ -46,3 +47,12 @@ namespace sycl {

} // namespace sycl
} // __SYCL_INLINE_NAMESPACE(cl)

#include <CL/sycl/backend/opencl.hpp>
// Level Zero backend header depends on external headers and should be
// included by user application directly
// #include <sycl/ext/oneapi/backend/level_zero.hpp>

#if SYCL_EXT_ONEAPI_BACKEND_CUDA
#include <CL/sycl/backend/cuda.hpp>
#endif