Repository navigation
fix the _CCCL_API macro family for NVHPC - #4777
Merged
ericniebler merged 1 commit intoMay 22, 2025
Merged
Conversation
ericniebler
force-pushed
the
nvhpc-fix-for-cccl-api-macros
branch
from
May 21, 2025 23:04
1230c46 to
e0c9ba8
Compare
Contributor
π© CI finished in 2h 09m: Pass: 100%/187 | Total: 4d 21h | Avg: 37m 41s | Max: 1h 41m | Hits: 25%/289419
|
| Project | |
|---|---|
| +/- | CCCL Infrastructure |
| +/- | libcu++ |
| CUB | |
| Thrust | |
| CUDA Experimental | |
| stdpar | |
| python | |
| CCCL C Parallel Library | |
| Catch2Helper |
Modifications in project or dependencies?
| Project | |
|---|---|
| +/- | CCCL Infrastructure |
| +/- | libcu++ |
| +/- | CUB |
| +/- | Thrust |
| +/- | CUDA Experimental |
| +/- | stdpar |
| +/- | python |
| +/- | CCCL C Parallel Library |
| +/- | Catch2Helper |
πβ Runner counts (total jobs: 187)
| # | Runner |
|---|---|
| 129 | linux-amd64-cpu16 |
| 15 | windows-amd64-cpu16 |
| 12 | linux-arm64-cpu16 |
| 12 | linux-amd64-gpu-rtxa6000-latest-1 |
| 11 | linux-amd64-gpu-rtx2080-latest-1 |
| 5 | linux-amd64-gpu-h100-latest-1 |
| 3 | linux-amd64-gpu-rtx4090-latest-1 |
miscco
approved these changes
May 22, 2025
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
the nvhpc compiler does not like to see visibility attributes on a function with internal linkage. and any function template that accepts a lambda is a function with internal linkage, and that's a lot.
_CCCL_HIDE_FROM_ABIalready accounts for this quirk. this PR applies the same workaround to the_CCCL_APIfamily of macros.as a drive-by, i fixed some spurious clangd warnings/errors so that more files appear in vscode without yellow or red squiggles.
finally, i cleaned up the suppression of msvc warnings and moved it into the
__cccl/prologue.h, which seems like the most appropriate place to me.Checklist