Repository navigation
[CUB] Tests DeviceScan for invalid values passed to the custom reduction operator - #5085
Merged
Merged
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
elstehle
reviewed
Jun 29, 2025
Co-authored-by: Elias Stehle <[email protected]>
Co-authored-by: Elias Stehle <[email protected]>
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
elstehle
approved these changes
Jun 30, 2025
Co-authored-by: Bernhard Manfred Gruber <[email protected]>
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Contributor
Author
|
/ok to test 803e824 |
Contributor
Author
|
As GCC 13 and CLANG 19 seem to cause |
This comment was marked as resolved.
This comment was marked as resolved.
Co-authored-by: Bernhard Manfred Gruber <[email protected]>
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Contributor
Author
|
Sorry for the CI spam, I fixed my config to format on save again, so pre-commit-failures should stop happening. |
This comment was marked as resolved.
This comment was marked as resolved.
Contributor
Author
|
/ok to test 3a09313 |
Contributor
🟩 CI finished in 2h 59m: Pass: 100%/153 | Total: 3d 19h | Avg: 35m 50s | Max: 1h 28m | Hits: 80%/173526
|
| Project | |
|---|---|
| CCCL Infrastructure | |
| CCCL Packaging | |
| libcu++ | |
| +/- | CUB |
| Thrust | |
| CUDA Experimental | |
| stdpar | |
| python | |
| CCCL C Parallel Library | |
| Catch2Helper |
Modifications in project or dependencies?
| Project | |
|---|---|
| CCCL Infrastructure | |
| +/- | CCCL Packaging |
| libcu++ | |
| +/- | CUB |
| +/- | Thrust |
| +/- | CUDA Experimental |
| +/- | stdpar |
| +/- | python |
| +/- | CCCL C Parallel Library |
| +/- | Catch2Helper |
🏃 Runner counts (total jobs: 153)
| # | Runner |
|---|---|
| 93 | linux-amd64-cpu16 |
| 17 | windows-amd64-cpu16 |
| 12 | linux-amd64-gpu-rtxa6000-latest-1 |
| 11 | linux-amd64-gpu-h100-latest-1 |
| 10 | linux-arm64-cpu16 |
| 7 | linux-amd64-gpu-rtx2080-latest-1 |
| 3 | linux-amd64-gpu-rtx4090-latest-1 |
3 tasks done
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.
Description
closes #5018
Adds a test for
DeviceScanthat is currently failing becauseDeviceScancalls the scan operator with "invalid elements" which might be duplicated valid elements or default initialized ones. The goal is for this test to pass iff the scan operator is only applied to consecutive partial results from the input range (including elements) to allow for certain side effects in the operator.When commenting out the check/side-effect in the scan operator the test succeeded for me, giving me confidence that it specifically detects the issue that it is supposed to detect.
I'm not super happy with the naming (
invalid), so if there are better ideas for a succinct and descriptive name for the test, please let me know.mathematically_correctseems neither succinct nor super descriptive to me.Checklist