Repository navigation
Compile the CUDA and HIP targets in CI - #525
Merged
Merged
Conversation
One job per vendor on a hosted runner, on a change to native/, with no device. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XGENPtq9Gp7VCh5QmcDdzQ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XGENPtq9Gp7VCh5QmcDdzQ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XGENPtq9Gp7VCh5QmcDdzQ
A CUDA build with its tests stopped here: nvcc can't deduce a list whose later members are bare braces. Found by the new compile job. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XGENPtq9Gp7VCh5QmcDdzQ
Reverted in the next commit (#151's test). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XGENPtq9Gp7VCh5QmcDdzQ
Under ci-passed, so that a broken device build blocks a merge, and only on a change to native/. A build with its tests stays strict, and so do CI's wheels; a build from source doesn't stop on a compiler's warning. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XGENPtq9Gp7VCh5QmcDdzQ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01XGENPtq9Gp7VCh5QmcDdzQ
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
jtravs
marked this pull request as ready for review
November 5, 2026 10:36
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
A draft, on
main, independent of #520. Closes #151.What changed
cudapreset under CUDA 12.8, the floor, and thehippreset under ROCm 7.2, tests included, with no device. They run on a change tonative/or toci.yml, and sit underci-passed, so a broken device build blocks a merge. They're skipped on any other change, whichci-passedaccepts.SOLPROP_NATIVE_WARNINGS_AS_ERRORSnow followsBUILD_TESTING: on for every preset and for anything building the tests, off for apiporuvbuild. CI's wheels andpoe check-native's distribution wheel set it on explicitly, so nothing CI builds got less strict. This is the maintainer's decision.main, the first thing the CUDA lane found:native/tests/native/test_aperture.cppcompiled under GCC, but nvcc couldn't deduce a list of pairs whose later members were bare braces, so a CUDA build with its tests stopped there. Wheel builds don't compile the tests, so hand-run device builds never showed it.Why
Five device-build breakages were found in 13 days, by #151's table, and each was found only when someone next rented or queued a GPU.
What it costs
A hosted runner, with no cache, in a run that passed:
CIrunCIrunSo #151's limit of 30 minutes holds without a Kokkos cache, which I haven't added. These were
general.cpp's first compiles there, and it didn't run out of memory. The disk isn't a concern, with 94 GB free after a toolkit's install.How it was verified
CIrun on4421d978, as lanes ofci.ymlunderci-passed: HIP in 19 minutes and CUDA in 26, with the other lanes passing beside them.-Werror,-Wunused-variable.test_aperture.cpperror above.if constexproutside the lambda, which is legal. I then held both forms to nvcc 12.8.1 directly: inside the lambda it stops with "An extended host device lambda cannot first-capture variable in constexpr-if context", and outside it compiles. I didn't spend another CI run on putting the right form through the job.Not done
Illegal opcode in command stream) compiled cleanly. Tests running on a device stay by hand (No scheduled lane runs thegpu-marked tests on a device #354).ci-passedis already the required check, so nothing there needs changing.Suggested labels:
testing,area: native,area: gpu.🤖 Generated with Claude Code
https://claude.ai/code/session_01XGENPtq9Gp7VCh5QmcDdzQ