[infra] Add clang-cuda-21 in C++23 job for libcu++#8988
Conversation
|
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 (27)
✅ Files skipped from review due to trivial changes (3)
🚧 Files skipped from review as they are similar to previous changes (20)
📝 WalkthroughSummary by CodeRabbit
suggestion: WalkthroughModernizes mdspan multi-argument operator[] constraints to a C++20 requires check; scopes deprecation suppression in a copysign numeric_limits test; makes calloc failure assertion device-only; and annotates an unused test global with [[maybe_unused]]. Changesmdspan Constraints and Test Fixes
Suggested reviewers
Comment |
There was a problem hiding this comment.
Actionable comments posted: 6
🧹 Nitpick comments (1)
CMakePresets.json (1)
162-170: ⚡ Quick winsuggestion: Add matching
buildPresetsandtestPresetsentries forlibcudacxx-cpp23.Only the configure preset was added on Line 162. The cpp17/cpp20 variants have paired build/ctest/lit presets; mirroring that for cpp23 keeps preset-based build/test flows consistent.
As per coding guidelines, "Use CMake Presets defined in CMakePresets.json for configuring, building, and testing the project".
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: bc677a62-230d-4b53-b125-8a5d55f49f3c
📒 Files selected for processing (28)
CMakePresets.jsonci/matrix.yamllibcudacxx/include/cuda/__mdspan/host_device_accessor.hlibcudacxx/include/cuda/std/__cmath/fpclassify.hlibcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_cluster.runfail.cpplibcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_device.runfail.cpplibcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_tensor.pass.cpplibcudacxx/test/libcudacxx/cuda/barrier/expect_tx_device.runfail.cpplibcudacxx/test/libcudacxx/cuda/containers/views/mdspan/device_mdspan/index_operator.pass.cpplibcudacxx/test/libcudacxx/cuda/containers/views/mdspan/host_mdspan/index_operator.pass.cpplibcudacxx/test/libcudacxx/cuda/containers/views/mdspan/managed_mdspan/index_operator.pass.cpplibcudacxx/test/libcudacxx/cuda/containers/views/mdspan/restrict_mdspan/index_operator.pass.cpplibcudacxx/test/libcudacxx/cuda/containers/views/mdspan/shared_mem_mdspan/index_operator.pass.cpplibcudacxx/test/libcudacxx/cuda/memcpy_async/memcpy_async_tx.pass.cpplibcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan/index_operator.pass.cpplibcudacxx/test/libcudacxx/std/language.support/cstdlib/calloc.pass.cpplibcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/const_data_members.pass.cpplibcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpplibcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpplibcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits/default.pass.cpplibcudacxx/test/libcudacxx/std/language.support/support.limits/limits/round.style/check_values.pass.cpplibcudacxx/test/libcudacxx/std/numerics/c.math/fp_manip/copysign.pass.cpplibcudacxx/test/libcudacxx/std/numerics/c.math/fp_traits/fpclassify.pass.cpplibcudacxx/test/libcudacxx/std/numerics/c.math/fp_traits/isfinite.pass.cpplibcudacxx/test/libcudacxx/std/numerics/c.math/fp_traits/isinf.pass.cpplibcudacxx/test/libcudacxx/std/numerics/c.math/fp_traits/isnan.pass.cpplibcudacxx/test/libcudacxx/std/numerics/c.math/fp_traits/isnormal.pass.cpplibcudacxx/test/libcudacxx/std/numerics/c.math/fp_traits/signbit.pass.cpp
🥳 CI Workflow Results🟩 Finished in 1h 30m: Pass: 100%/1 | Total: 1h 30m | Max: 1h 30m | Hits: 5%/4975See results here. |
99f4025 to
c4c839a
Compare
There was a problem hiding this comment.
Actionable comments posted: 1
♻️ Duplicate comments (1)
ci/matrix.yaml (1)
97-97:⚠️ Potential issue | 🟠 Major | ⚡ Quick winimportant: C++23 jobs are declared here but still blocked by matrix capability limits.
Line 97, Line 233, and Line 326 request
std: 23, whileall_stds,ctk_versions.12.9.stds,host_compilers.clang.versions.21.stds, andprojects.libcudacxx.stdsare still capped at[17, 20]. That can prevent these lanes from being generated/executed, so the libcu++ C++23 coverage objective is not reliably met.Also applies to: 233-233, 326-326
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: f2455719-4b8b-4f9c-a9ed-0616fd7ebe69
📒 Files selected for processing (27)
CMakePresets.jsonci/matrix.yamllibcudacxx/include/cuda/std/__cmath/fpclassify.hlibcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_cluster.runfail.cpplibcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_device.runfail.cpplibcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_tensor.pass.cpplibcudacxx/test/libcudacxx/cuda/barrier/expect_tx_device.runfail.cpplibcudacxx/test/libcudacxx/cuda/containers/views/mdspan/device_mdspan/index_operator.pass.cpplibcudacxx/test/libcudacxx/cuda/containers/views/mdspan/host_mdspan/index_operator.pass.cpplibcudacxx/test/libcudacxx/cuda/containers/views/mdspan/managed_mdspan/index_operator.pass.cpplibcudacxx/test/libcudacxx/cuda/containers/views/mdspan/restrict_mdspan/index_operator.pass.cpplibcudacxx/test/libcudacxx/cuda/containers/views/mdspan/shared_mem_mdspan/index_operator.pass.cpplibcudacxx/test/libcudacxx/cuda/memcpy_async/memcpy_async_tx.pass.cpplibcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan/index_operator.pass.cpplibcudacxx/test/libcudacxx/std/language.support/cstdlib/calloc.pass.cpplibcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/const_data_members.pass.cpplibcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpplibcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpplibcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits/default.pass.cpplibcudacxx/test/libcudacxx/std/language.support/support.limits/limits/round.style/check_values.pass.cpplibcudacxx/test/libcudacxx/std/numerics/c.math/fp_manip/copysign.pass.cpplibcudacxx/test/libcudacxx/std/numerics/c.math/fp_traits/fpclassify.pass.cpplibcudacxx/test/libcudacxx/std/numerics/c.math/fp_traits/isfinite.pass.cpplibcudacxx/test/libcudacxx/std/numerics/c.math/fp_traits/isinf.pass.cpplibcudacxx/test/libcudacxx/std/numerics/c.math/fp_traits/isnan.pass.cpplibcudacxx/test/libcudacxx/std/numerics/c.math/fp_traits/isnormal.pass.cpplibcudacxx/test/libcudacxx/std/numerics/c.math/fp_traits/signbit.pass.cpp
✅ Files skipped from review due to trivial changes (5)
- libcudacxx/test/libcudacxx/cuda/barrier/expect_tx_device.runfail.cpp
- libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_cluster.runfail.cpp
- libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/has_denorm_loss.pass.cpp
- libcudacxx/test/libcudacxx/cuda/barrier/arrive_tx_device.runfail.cpp
- libcudacxx/test/libcudacxx/std/numerics/c.math/fp_traits/isfinite.pass.cpp
🚧 Files skipped from review as they are similar to previous changes (18)
- libcudacxx/include/cuda/std/__cmath/fpclassify.h
- libcudacxx/test/libcudacxx/cuda/barrier/cp_async_bulk_tensor.pass.cpp
- libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/has_denorm.pass.cpp
- libcudacxx/test/libcudacxx/std/numerics/c.math/fp_traits/signbit.pass.cpp
- libcudacxx/test/libcudacxx/cuda/containers/views/mdspan/managed_mdspan/index_operator.pass.cpp
- libcudacxx/test/libcudacxx/cuda/containers/views/mdspan/restrict_mdspan/index_operator.pass.cpp
- libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/round.style/check_values.pass.cpp
- libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits.members/const_data_members.pass.cpp
- libcudacxx/test/libcudacxx/std/numerics/c.math/fp_traits/isnormal.pass.cpp
- libcudacxx/test/libcudacxx/std/language.support/support.limits/limits/numeric.limits/default.pass.cpp
- libcudacxx/test/libcudacxx/std/numerics/c.math/fp_traits/fpclassify.pass.cpp
- libcudacxx/test/libcudacxx/cuda/containers/views/mdspan/host_mdspan/index_operator.pass.cpp
- libcudacxx/test/libcudacxx/cuda/containers/views/mdspan/device_mdspan/index_operator.pass.cpp
- libcudacxx/test/libcudacxx/std/numerics/c.math/fp_manip/copysign.pass.cpp
- CMakePresets.json
- libcudacxx/test/libcudacxx/std/numerics/c.math/fp_traits/isinf.pass.cpp
- libcudacxx/test/libcudacxx/std/containers/views/mdspan/mdspan/index_operator.pass.cpp
- libcudacxx/test/libcudacxx/cuda/containers/views/mdspan/shared_mem_mdspan/index_operator.pass.cpp
c4c839a to
8b000b5
Compare
No description provided.