From b811b1ff755df884bd746ae6e90c70b6c6694619 Mon Sep 17 00:00:00 2001 From: Hugh Delaney Date: Thu, 12 May 2022 17:06:14 +0100 Subject: [PATCH 1/2] Adding info to make sure CUDA driver is newer than toolkit --- sycl/doc/GetStartedGuide.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sycl/doc/GetStartedGuide.md b/sycl/doc/GetStartedGuide.md index 1f53b9f4697c8..d0ecb7340c198 100644 --- a/sycl/doc/GetStartedGuide.md +++ b/sycl/doc/GetStartedGuide.md @@ -171,6 +171,11 @@ Windows DPC++ toolchain, but add the `--cuda` flag to `configure.py`. Note, the CUDA backend has experimental Windows support, windows subsystem for linux (WSL) is not needed to build and run the CUDA backend. +Errors may occur if DPC++ is built with a toolkit version which is higher than +the CUDA driver version. In order to check that the CUDA driver and toolkits +match, use the cuda executable `deviceQuery` which is usually found in +`$CUDA_INSTALL_DIR/cuda/extras/demo_suite/deviceQuery`. + Enabling this flag requires an installation of [CUDA 10.2](https://developer.nvidia.com/cuda-10.2-download-archive) on the system, refer to From 24242ea0b86b04b2aa91a150f8d563066677432e Mon Sep 17 00:00:00 2001 From: Hugh Delaney Date: Thu, 12 May 2022 17:09:03 +0100 Subject: [PATCH 2/2] Upper case CUDA --- sycl/doc/GetStartedGuide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/doc/GetStartedGuide.md b/sycl/doc/GetStartedGuide.md index d0ecb7340c198..b06c21f9fd7d1 100644 --- a/sycl/doc/GetStartedGuide.md +++ b/sycl/doc/GetStartedGuide.md @@ -173,7 +173,7 @@ linux (WSL) is not needed to build and run the CUDA backend. Errors may occur if DPC++ is built with a toolkit version which is higher than the CUDA driver version. In order to check that the CUDA driver and toolkits -match, use the cuda executable `deviceQuery` which is usually found in +match, use the CUDA executable `deviceQuery` which is usually found in `$CUDA_INSTALL_DIR/cuda/extras/demo_suite/deviceQuery`. Enabling this flag requires an installation of