We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee8de9a commit 1d7b95dCopy full SHA for 1d7b95d
sycl/doc/GetStartedWithSYCLCompiler.md
@@ -126,8 +126,10 @@ the CMake command when building the SYCL compiler.
126
127
```
128
-DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda/ \
129
--DLLVM_ENABLE_PROJECTS="clang;llvm-spirv;sycl;libclc"
130
--DSYCL_BUILD_PI_CUDA=ON
+-DLLVM_ENABLE_PROJECTS="clang;llvm-spirv;sycl;libclc"\
+-DSYCL_BUILD_PI_CUDA=ON\
131
+-DLLVM_TARGETS_TO_BUILD="X86;NVPTX"\
132
+-DLIBCLC_TARGETS_TO_BUILD="nvptx64--;nvptx64--nvidiacl"
133
134
135
Enabling this flag requires an installation of
0 commit comments