@@ -130,8 +130,8 @@ DPC++ toolchain, but replace the cmake command with the following one:
130
130
```
131
131
cmake -DCMAKE_BUILD_TYPE=Release \
132
132
-DLLVM_EXTERNAL_PROJECTS="llvm-spirv;sycl" \
133
- -DLLVM_EXTERNAL_SYCL_SOURCE_DIR=$SYCL_HOME /llvm/sycl \
134
- -DLLVM_EXTERNAL_LLVM_SPIRV_SOURCE_DIR=$SYCL_HOME /llvm/llvm-spirv \
133
+ -DLLVM_EXTERNAL_SYCL_SOURCE_DIR=$DPCPP_HOME /llvm/sycl \
134
+ -DLLVM_EXTERNAL_LLVM_SPIRV_SOURCE_DIR=$DPCPP_HOME /llvm/llvm-spirv \
135
135
-DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda/ \
136
136
-DLLVM_ENABLE_PROJECTS="clang;llvm-spirv;sycl;libclc" \
137
137
-DSYCL_BUILD_PI_CUDA=ON \
@@ -150,16 +150,16 @@ above.
150
150
151
151
# Use DPC++ toolchain
152
152
153
- ## Using the SYCL toolchain on CUDA platforms
153
+ ## Using the DPC++ toolchain on CUDA platforms
154
154
155
- The SYCL toolchain support on CUDA platforms is still in an experimental phase.
156
- Currently, the SYCL toolchain relies on having a recent OpenCL implementation
157
- on the system in order to link applications to the SYCL runtime.
155
+ The DPC++ toolchain support on CUDA platforms is still in an experimental phase.
156
+ Currently, the DPC++ toolchain relies on having a recent OpenCL implementation
157
+ on the system in order to link applications to the DPC++ runtime.
158
158
The OpenCL implementation is not used at runtime if only the CUDA backend is
159
159
used in the application, but must be installed.
160
160
161
161
The OpenCL implementation provided by the CUDA SDK is OpenCL 1.2, which is
162
- too old to link with the SYCL runtime and lacks some symbols.
162
+ too old to link with the DPC++ runtime and lacks some symbols.
163
163
164
164
We recommend installing the low level CPU runtime, following the instructions
165
165
in the next section.
0 commit comments