DPC++ daily 2022-06-10
Pre-release
Pre-release
·
135838 commits
to sycl
since this release
[SYCL][CUDA] Add experimental context and device interop (#6202) This PR is adds part of the CUDA-backend spec interop proposed in KhronosGroup/SYCL-Docs#197. The changes work with the CUDA CTS interop checks KhronosGroup/SYCL-CTS#336. This PR just adds the context and device interop. Further PRs will be submitted to fill in other missing interop functionality. The changes are experimental so as to not break oneMKL, and oneDNN which use CUDA interops. The experimental interop is enabled by defining the SYCL_EXT_ONEAPI_BACKEND_CUDA_EXPERIMENTAL macro and including the header file sycl/ext/oneapi/experimental/backend/cuda.hpp. llvm-test-suite: intel/llvm-test-suite#1041