Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

[SYCL][CUDA] Add cuda-experimental context and device test #1041

Merged
merged 3 commits into from
Jun 10, 2022

Conversation

AidanBeltonS
Copy link

@AidanBeltonS AidanBeltonS commented May 26, 2022

This PR add testing of the CUDA backend experimental interop functionality.

It checks that valid types are returned and that the created SYCL objects can be used to do work.

Depends on: intel/llvm#6202

pvchupin pushed a commit to intel/llvm that referenced this pull request Jun 10, 2022
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
@pvchupin pvchupin merged commit 1ca16ca into intel:intel Jun 10, 2022
@AidanBeltonS AidanBeltonS deleted the cuda_exper_ctx_dev branch June 10, 2022 10:19
myler pushed a commit to myler/llvm-test-suite that referenced this pull request Mar 22, 2023
This PR add testing of the CUDA backend experimental interop functionality.

It checks that valid types are returned and that the created SYCL objects can be used to do work.

Depends on: intel/llvm#6202
aelovikov-intel pushed a commit to aelovikov-intel/llvm that referenced this pull request Mar 27, 2023
…m-test-suite#1041)

This PR add testing of the CUDA backend experimental interop functionality.

It checks that valid types are returned and that the created SYCL objects can be used to do work.

Depends on: intel#6202
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants