We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66b9e11 commit 06ed924Copy full SHA for 06ed924
sycl/test-e2e/Plugin/interop-cuda-experimental.cpp
@@ -67,10 +67,13 @@ int main() {
67
CUDA_CHECK(cuDeviceGet(&cu_dev, 0));
68
auto sycl_dev = sycl::make_device<sycl::backend::ext_oneapi_cuda>(cu_dev);
69
auto native_dev = sycl::get_native<sycl::backend::ext_oneapi_cuda>(sycl_dev);
70
+ auto sycl_dev2 =
71
+ sycl::make_device<sycl::backend::ext_oneapi_cuda>(native_dev);
72
73
check_type<sycl::device>(sycl_dev);
74
check_type<CUdevice>(native_dev);
75
assert(native_dev == cu_dev);
76
+ assert(sycl_dev == sycl_dev2);
77
78
// Create sycl queue with new device and submit some work
79
{
0 commit comments