Bump branch/3.5.x to 3.5.1. #11766
<!-- This is an auto-generated comment: summarize by coderabbit.ai -->
<!-- review_stack_entry_start -->
<a href="https://app.coderabbit.ai/change-stack/NVIDIA/cccl/pull/11766?cs_source=review_comment"><img src="https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui-dark.svg?v=2" alt="Review in Change Stack →" width="220" height="32"></a>
Navigate logical layers of code changes, visualize relationships, and explore their blast radius.
<!-- review_stack_entry_end -->
<!-- recent_review_start -->
No actionable comments were generated in the recent review. 🎉
<details>
<summary>ℹ️ Recent review info</summary>
<details>
<summary>⚙️ Run configuration</summary>
Configuration used: Repository: NVIDIA/cccl/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 1d202bb7-85f3-4c8c-9983-47b5dea06ff6
</details>
<details>
<summary>📥 Commits</summary>
Reviewing files that changed from the base of the PR and between 28101b07413743e1dcca8ca8af1cfc63e8cff2d1 and f5be9e6e2429d1e20ab1a4eeff31dfab793288a9.
</details>
<details>
<summary>📒 Files selected for processing (9)</summary>
cccl-version.json
cub/cub/version.cuh
lib/cmake/cccl/cccl-config-version.cmake
lib/cmake/cub/cub-config-version.cmake
lib/cmake/cudax/cudax-config-version.cmake
lib/cmake/libcudacxx/libcudacxx-config-version.cmake
lib/cmake/thrust/thrust-config-version.cmake
libcudacxx/include/cuda/std/__cccl/version.h
thrust/thrust/version.h
</details>
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review.
</details>
---
<!-- recent_review_end -->
<!-- walkthrough_start -->
<details>
<summary>📝 Summary</summary>
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Release
* Updated CCCL and its CUB, CUDAX, libcudacxx, and Thrust components to version 3.5.1.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Walkthrough
Version metadata, package version files, and version macros now report patch version 1 instead of 0. Major and minor version values remain unchanged.
Changes
Version metadata update
|Layer / File(s)|Summary|
|---|---|
|Synchronized version values <br> cccl-version.json, cub/cub/version.cuh, thrust/thrust/version.h, libcudacxx/include/cuda/std/__cccl/version.h, lib/cmake/cccl/cccl-config-version.cmake, lib/cmake/cub/cub-config-version.cmake, lib/cmake/cudax/cudax-config-version.cmake, lib/cmake/libcudacxx/libcudacxx-config-version.cmake, lib/cmake/thrust/thrust-config-version.cmake|Version metadata and macros for CCCL, CUB, CUDAX, libcudacxx, and Thrust update their patch component to 1. CMake compatibility and exact-version checks remain unchanged.|
</details>
<!-- walkthrough_end -->
<!-- change_assessment_start -->
Priority: ⬇️ Low
<!-- change_assessment_commit:"f5be9e6e2429d1e20ab1a4eeff31dfab793288a9" -->
Change: Other
<!-- change_assessment_end -->
<!-- final_review_risk_start -->
Merge Risk: _⚪ Minimal_ · up to f5be9
<!-- final_review_risk_coverage:{"sourceCommitId":"f5be9e6e2429d1e20ab1a4eeff31dfab793288a9","coveredCommitId":"f5be9e6e2429d1e20ab1a4eeff31dfab793288a9","kind":"reviewed"} -->
The version metadata is synchronized to 3.5.1, with no identified issue requiring resolution before merge.
<!-- final_review_risk_end -->
<!-- autopilot:start -->
Autopilot is currently an internal CodeRabbit preview.
<!-- autopilot:end -->
<!-- tips_start -->
---
<sub>Comment @coderabbitai help to get the list of available commands.</sub>
<!-- tips_end -->
Approved these changes.
Approved these changes.
<!-- cccl-compile-time-bench: public-headers-gcc13 -->
⏱️ CCCL compile-time benchmark comparison: Public headers compile-time bench
Result: 2 regression row(s), 17 improvement row(s) above threshold.
| Run | Value |
| --- | --- |
| Config | public-headers-gcc13 |
| Baseline | origin/main |
| Preset | all-dev |
| Targets | cub.headers.base, thrust.cpp.cuda.headers.base, libcudacxx.test.public_headers |
| GPU / launch args | rtx2080 / --cuda 13.3 --host gcc13 |
Artifacts: reports and traces
TU total compilation
-f total-compilation inclusive --sort total
<details>
<summary><strong>🟢 TU total compilation — Improvements</strong></summary>
| Rank | Improvement impact | Selected Δ | Baseline | Current | Event | Matched traces |
| ---: | ---: | ---: | ---: | ---: | --- | ---: |
| 1 | 3.935019 | -3.935019 | 6.594657 | 2.659638 | Total Compilation Time: cuda/mdspan | 1 |
| 2 | 3.237015 | -3.237015 | 10.786231 | 7.549216 | Total Compilation Time: cub/cub.cuh | 1 |
</details>
Direct file processing
-f file-processing exclusive --sort total
<details>
<summary><strong>🔴 Direct file processing — Regressions</strong></summary>
| Rank | Regression impact | Selected Δ | Baseline | Current | Event | Matched traces |
| ---: | ---: | ---: | ---: | ---: | --- | ---: |
| 1 | 1.910157 | 1.910157 | 0.176237 | 2.086394 | Processing Header File: cub/cub/device/dispatch/tuning/common.cuh | 131 |
| 2 | 0.451647 | 0.451647 | 2.188567 | 2.640214 | Processing Header File: libcudacxx/include/cuda/std/__iterator/iterator_traits.h | 463 |
</details>
<details>
<summary><strong>🟢 Direct file processing — Improvements</strong></summary>
| Rank | Improvement impact | Selected Δ | Baseline | Current | Event | Matched traces |
| ---: | ---: | ---: | ---: | ---: | --- | ---: |
| 1 | 6.625304 | -6.625304 | 16.989722 | 10.364418 | Processing Header File: libcudacxx/include/cuda/__device/physical_device.h | 94 |
| 2 | 1.414555 | -1.414555 | 1.414729 | 0.000174 | Processing Header File: libcudacxx/include/cuda/std/mdspan | 7 |
| 3 | 1.354472 | -1.354472 | 5.507814 | 4.153342 | Processing Header File: libcudacxx/include/cuda/std/__cccl/prologue.h | 546 |
| 4 | 1.085567 | -1.085567 | 2.808389 | 1.722822 | Processing Header File: libcudacxx/include/cuda/std/__atomic/functions.h | 56 |
| 5 | 0.944523 | -0.944523 | 0.944546 | 0.000023 | Processing Header File: libcudacxx/include/cuda/mdspan | 1 |
| 6 | 0.837489 | -0.837489 | 0.879086 | 0.041597 | Processing Header File: libcudacxx/include/cuda/std/__exception/cuda_error.h | 94 |
| 7 | 0.779598 | -0.779598 | 0.793215 | 0.013617 | Processing Header File: cub/cub/device/dispatch/dispatch_for.cuh | 59 |
| 8 | 0.732709 | -0.732709 | 2.132352 | 1.399643 | Processing Header File: libcudacxx/include/cuda/std/__atomic/functions/cuda_ptx_generated.h | 56 |
| 9 | 0.611122 | -0.611122 | 0.612418 | 0.001296 | Processing Header File: cub/cub/device/dispatch/kernels/kernel_batched_topk.cuh | 4 |
| 10 | 0.466760 | -0.466760 | 0.467381 | 0.000621 | Processing Header File: cub/cub/device/dispatch/dispatch_copy_mdspan.cuh | 3 |
| 11 | 0.397047 | -0.397047 | 0.463975 | 0.066928 | Processing Header File: cub/cub/device/dispatch/dispatch_transform.cuh | 59 |
| 12 | 0.364387 | -0.364387 | 0.424205 | 0.059818 | Processing Header File: cub/cub/device/dispatch/dispatch_reduce.cuh | 31 |
| 13 | 0.364199 | -0.364199 | 0.614572 | 0.250373 | Processing Header File: cub/cub/device/dispatch/dispatch_batched_topk.cuh | 3 |
| 14 | 0.339711 | -0.339711 | 5.415518 | 5.075807 | Processing Header File: libcudacxx/include/cuda/std/__iterator/concepts.h | 435 |
| 15 | 0.303915 | -0.303915 | 0.304585 | 0.000670 | Processing Header File: cub/cub/device/device_run_length_encode.cuh | 2 |
</details>
<!-- Sticky Pull Request Commentcompile-time-bench-public-headers-gcc13 -->
😬 CI Workflow Results
🟥 Finished in 4h 06m: Pass: 91%/504 | Total: 24d 10h | Max: 4h 06m | Hits: 20%/4065358
See results here.
<!-- Sticky Pull Request Commentci-results -->
Approved these changes.
😬 CI Workflow Results
🟥 Finished in 18h 51m: Pass: 99%/504 | Total: 24d 01h | Max: 3h 36m | Hits: 20%/3945773
See results here.
<!-- Sticky Pull Request Commentci-results -->
😬 CI Workflow Results
🟥 Finished in 2d 09h: Pass: 99%/504 | Total: 24d 01h | Max: 3h 36m | Hits: 20%/3945773
See results here.
<!-- Sticky Pull Request Commentci-results -->
jrhemstad
wmaxey
Checklist
<!-- TODO: - [ ] I am familiar with the [Contributing Guidelines](). -->