fix(examples): 09 names the cuRAND payload the clang route needs - #567
Merged
Conversation
Sunrisepeak
force-pushed
the
fix/example-09-curand
branch
from
September 5, 2026 12:37
0555ce6 to
89fabaa
Compare
clang's CUDA wrapper includes curand_mtgp32_kernel.h unconditionally; the example built on a developer machine only because the host's /usr/include supplied it. mcpp.rules.cuda 0.1.0 refuses the clang route without xim:libcurand and names the entry; the example now declares it.
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.
Sunrisepeak
force-pushed
the
fix/example-09-curand
branch
from
September 5, 2026 12:50
fd9cea9 to
993f104
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
clang's CUDA wrapper includes
curand_mtgp32_kernel.hunconditionally. The example built on a developer machine only because the host's/usr/includesupplied the header; the mcpp-plugins CI runner, with no host CUDA, refused it (mcpp-community/mcpp-plugins#1).mcpp.rules.cudanow addsxim:libcurand's include directory to the device compile and refuses the clang route without it, naming the[xlings.workspace]entry; the example declares it. One-line manifest change, no engine change.