[SYCL][CUDA] error: no matching function for call to 'make_context'
- Dominant language
- LLVM
- Stars
- 1.5k
- Forks
- 854
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 137
Description
Building the file "interop-cuda-experimental.cpp" shows the error:
```
interop-cuda-experimental.cpp:91:19: error: no matching function for call to 'make_context'
auto sycl_ctx = sycl::make_context(cu_ctx);
note: candidate template ignored: requirement 'detail::InteropFeatureSupportMap::MakeContext == true' was not satisfied [with Backend = sycl::backend::ext_oneapi_cuda]
make_context(
```
command:
clang++ -std=c++17 -Wall -fsycl -fsycl-targets=nvptx64-nvidia-cuda -Xsycl-target-backend --cuda-gpu-arch=sm_70 -c interop-cuda-experimental.cpp -o interop-cuda-experimental.o
clang version 17.0.0 (https://github.com/intel/llvm.git 20c1857da00d99b388490f127059e0cad8717a93)
Contributor guide
Assessment
This issue has not been assessed yet.