Skip to content

Commit 89fabaa

Browse files
committed
fix(examples): 09 also names the CCCL payload
cuRAND's header includes <nv/target> from CCCL, the separate cuda-cccl package of the 12.x toolkits; the host's /usr/include supplied it silently on the developer machine. mcpp.rules.cuda refuses the clang route without it and names the entry; the example declares 12.9.27, the 12.9 line.
1 parent 422144b commit 89fabaa

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

examples/09-cuda-kernel/app/mcpp.toml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,13 @@ cuda-runtime = "2026.09.05"
4040
[xlings.workspace]
4141
"xim:cuda-nvcc" = "12.9.86"
4242
"xim:cuda-cudart" = "12.9.79"
43-
# cuRAND's headers. clang's CUDA wrapper includes curand_mtgp32_kernel.h for
44-
# every device unit, so the clang route needs them even though this kernel
45-
# never calls cuRAND; on a developer machine the host's /usr/include used to
46-
# supply the header silently. The 10.3.x line pairs with CUDA 12.x.
43+
# cuRAND's headers and CCCL. clang's CUDA wrapper includes
44+
# curand_mtgp32_kernel.h for every device unit, and that header includes
45+
# <nv/target> from CCCL, so the clang route needs both even though this kernel
46+
# calls neither; on a developer machine the host's /usr/include used to supply
47+
# them silently. 10.3.x and 12.9.27 are the 12.9 line.
4748
"xim:libcurand" = "10.3.10.19"
49+
"xim:cuda-cccl" = "12.9.27"
4850
"xim:libcuda-host-link" = { linux = "0.0.1" }
4951

5052
[build]

0 commit comments

Comments
 (0)