File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
sycl/test-e2e/Basic/interop Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 22// RUN: %if any-device-is-cuda %{ %{build} -isystem %sycl_include -DBUILD_FOR_CUDA -o %t-cuda.out %}
33// RUN: %if any-device-is-hip %{ %{build} -DBUILD_FOR_HIP -o %t-hip.out %}
44
5- #include < sycl/backend.hpp>
65#include < sycl/detail/core.hpp>
76#include < sycl/properties/all_properties.hpp>
87#include < sycl/usm.hpp>
98using namespace sycl ;
109
1110#ifdef BUILD_FOR_CUDA
11+ #include < sycl/ext/oneapi/experimental/backend/cuda.hpp>
1212constexpr auto BACKEND = backend::ext_oneapi_cuda;
1313using nativeDevice = CUdevice;
1414using nativeQueue = CUstream;
@@ -20,6 +20,7 @@ using nativeDevice = device;
2020using nativeQueue = ihipStream_t;
2121using nativeEvent = ihipEvent_t;
2222#else
23+ #include < sycl/backend.hpp>
2324constexpr auto BACKEND = backend::opencl;
2425using nativeDevice = cl_device_id;
2526using nativeQueue = cl_command_queue;
You can’t perform that action at this time.
0 commit comments