You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Updating SYCL For CUDA examples to CUDA 12 and latest intel llvm tip (#27)
* Ignoring VIM temporary files
* Vector Addition example update
Works with latest DPC++ and SYCL2020 features
README updated to reflect CUDA backend has USM support
* Removing unnecessary CUDA Driver types
Since intel/llvm#8197, SYCL CUDA backend uses
CUDA primary context by default, so individual context setting is no
longer required.
* Using moder queue construction
SYCL 1.2.1 device selectors have been deprecated in favour of a new
simplified form using lambdas.
* Format files
Run clang-format on files, separate commit to avoid noise
* Explicitly setting CUDA context on host task
Because of the changes on SYCL context, it is necessary now to set the
active CUDA context manually inside the host task.
Note there was some clang-formatting here as well
* Addressing feedback from Gordon
Copy file name to clipboardExpand all lines: examples/vector_addition/README.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,9 +7,6 @@ to highlight how to build an application with SYCL for CUDA using DPC++ support,
7
7
for which an example CMakefile is provided. For detailed documentation on how to
8
8
migrate from CUDA to SYCL, see [SYCL For CUDA Developers](https://developer.codeplay.com/products/computecpp/ce/guides/sycl-for-cuda-developers).
9
9
10
-
Note currently the CUDA backend does not support the [USM](https://github.com/intel/llvm/blob/sycl/sycl/doc/extensions/USM/USM.adoc) extension, so we use
0 commit comments