Skip to content

Commit cf71a32

Browse files
RuykAlexander Johnston
authored andcommitted
Added missing flags for device-side builtins
Signed-off-by: Alexander Johnston <[email protected]>
1 parent cbf5c6a commit cf71a32

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)