[infra] Add clang-22 CUDA build job to nightly/weekly CI#8888
[infra] Add clang-22 CUDA build job to nightly/weekly CI#8888davebayer wants to merge 3 commits into
clang-22 CUDA build job to nightly/weekly CI#8888Conversation
This comment has been minimized.
This comment has been minimized.
fa2cde8 to
1d4d5b2
Compare
This comment has been minimized.
This comment has been minimized.
clang-22 build job to nightly/weekly CIclang-22 CUDA build job to nightly/weekly CI
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (5)
✅ Files skipped from review due to trivial changes (2)
📝 WalkthroughSummary by CodeRabbit
important: WalkthroughAdds three LLVM‑22 Dev Container definitions (CUDA 12.9, 12.9ext, 13.2), extends CI matrix/devcontainer aliasing for clang-cuda-next and clang‑22, and applies small libcudacxx test and CUB compile-time/verification adjustments. important: ChangesLLVM 22 Devcontainers and clang-cuda-next CI Support
Suggested reviewers:
Comment |
There was a problem hiding this comment.
Actionable comments posted: 2
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 07e1774d-884b-47d6-b073-04cffb238887
📒 Files selected for processing (4)
.devcontainer/cuda12.9-llvm22/devcontainer.json.devcontainer/cuda12.9ext-llvm22/devcontainer.json.devcontainer/cuda13.2-llvm22/devcontainer.jsonci/matrix.yaml
This comment has been minimized.
This comment has been minimized.
badebe2 to
df91fd6
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
.devcontainer/cuda12.9-llvm22/devcontainer.json (1)
41-42: ⚡ Quick winsuggestion: Make timezone mounting host-portable.
Line 41 binds
/etc/timezone, which is absent on some hosts (notably macOS), and can block container startup. Prefer relying on/etc/localtimeonly, or gate/etc/timezoneby host type in generation logic.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: ba867447-8cfa-4c48-b786-93c75c6c110b
📒 Files selected for processing (5)
.devcontainer/cuda12.9-llvm22/devcontainer.json.devcontainer/cuda12.9ext-llvm22/devcontainer.json.devcontainer/cuda13.2-llvm22/devcontainer.jsonci/matrix.yamllibcudacxx/include/cuda/std/span
✅ Files skipped from review due to trivial changes (1)
- libcudacxx/include/cuda/std/span
🚧 Files skipped from review as they are similar to previous changes (3)
- .devcontainer/cuda13.2-llvm22/devcontainer.json
- .devcontainer/cuda12.9ext-llvm22/devcontainer.json
- ci/matrix.yaml
This comment has been minimized.
This comment has been minimized.
There was a problem hiding this comment.
🧹 Nitpick comments (1)
cub/cub/util_device.cuh (1)
783-785: 💤 Low valuesuggestion: The
0sentinel in the variadic pack guards against empty macro expansion and ensures the fold expression is non-empty. While functionally harmless, a comment explaining this defensive measure would clarify the intent for maintainers.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: f67611ff-f0b1-45f0-a428-47047edfaab3
📒 Files selected for processing (1)
cub/cub/util_device.cuh
This comment has been minimized.
This comment has been minimized.
48998ef to
46769aa
Compare
😬 CI Workflow Results🟥 Finished in 29m 17s: Pass: 66%/12 | Total: 3h 20m | Max: 29m 12s | Hits: 97%/17693See results here. |
| #if _CCCL_HAS_HOST_STD_LIB() | ||
| template <class _Tp, size_t _Sz> | ||
| _CCCL_HOST_DEVICE span(::std::array<_Tp, _Sz>&) -> span<_Tp, _Sz>; | ||
| _CCCL_DEDUCTION_GUIDE_ATTRIBUTES span(::std::array<_Tp, _Sz>&) -> span<_Tp, _Sz>; |
There was a problem hiding this comment.
There are a lot of other places where this is just _CCCL_API (for example the ranges). Is that a problem?
There was a problem hiding this comment.
I've changed all deduction guide attributes in #6964, so none should use _CCCL_HOST_DEVICE anymore :)
| _CCCL_CONCEPT HasMakeUniqueForOverwrite = _CCCL_REQUIRES_EXPR((T, variadic Args), T t, Args&&... args)( | ||
| (cuda::std::make_unique_for_overwrite<T>(cuda::std::forward<Args>(args)...))); |
There was a problem hiding this comment.
What was the issue with the original concept macro formulation?
There was a problem hiding this comment.
clang-22 in CUDA mode failed to evaluate it correctly in C++17 for some reason
LLVM 22.1 is out, so I thought we could add it to our nightly/weekly CI runs as
clang-cuda-nextrun to catch potential issues early. It brings CUDA 12.9 support.Waiting for llvm22 + cuda-ext devcontainers: rapidsai/devcontainers#695