Skip to content

Commit 1d7b95d

Browse files
authored
Added missing flags for device-side builtins
1 parent ee8de9a commit 1d7b95d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sycl/doc/GetStartedWithSYCLCompiler.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,10 @@ the CMake command when building the SYCL compiler.
126126

127127
```
128128
-DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda/ \
129-
-DLLVM_ENABLE_PROJECTS="clang;llvm-spirv;sycl;libclc"
130-
-DSYCL_BUILD_PI_CUDA=ON
129+
-DLLVM_ENABLE_PROJECTS="clang;llvm-spirv;sycl;libclc"\
130+
-DSYCL_BUILD_PI_CUDA=ON\
131+
-DLLVM_TARGETS_TO_BUILD="X86;NVPTX"\
132+
-DLIBCLC_TARGETS_TO_BUILD="nvptx64--;nvptx64--nvidiacl"
131133
```
132134

133135
Enabling this flag requires an installation of

0 commit comments

Comments
 (0)