Skip to content

Fix problematic clang attribute namespace#5748

Merged
davebayer merged 1 commit intoNVIDIA:mainfrom
davebayer:fix_unknown_clang_attribute_namespace
Sep 3, 2025
Merged

Fix problematic clang attribute namespace#5748
davebayer merged 1 commit intoNVIDIA:mainfrom
davebayer:fix_unknown_clang_attribute_namespace

Conversation

@davebayer
Copy link
Contributor

Fixes nvbug 5498112.

nvcc doesn't recognize _Clang:: as a known attribute namespace. So let's use clang:: instead and add clang to pushed/poped macros.

@davebayer davebayer requested a review from a team as a code owner September 3, 2025 08:07
@davebayer davebayer requested a review from fbusato September 3, 2025 08:07
@github-project-automation github-project-automation bot moved this to Todo in CCCL Sep 3, 2025
@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Review in CCCL Sep 3, 2025
@davebayer davebayer requested a review from miscco September 3, 2025 08:11
@github-actions
Copy link
Contributor

github-actions bot commented Sep 3, 2025

📖 Doc Preview CI

🚀 Preview URL: https://NVIDIA.github.io/cccl/pr-preview/pr-5748/

Preview will be available once GitHub Pages deployment completes.

@davebayer davebayer enabled auto-merge (squash) September 3, 2025 08:22
@github-actions
Copy link
Contributor

github-actions bot commented Sep 3, 2025

🥳 CI Workflow Results

🟩 Finished in 3h 35m: Pass: 100%/223 | Total: 4d 10h | Max: 3h 34m | Hits: 83%/324683

See results here.

@davebayer davebayer merged commit a73587c into NVIDIA:main Sep 3, 2025
235 checks passed
@github-project-automation github-project-automation bot moved this from In Review to Done in CCCL Sep 3, 2025
@miscco miscco deleted the fix_unknown_clang_attribute_namespace branch September 3, 2025 12:05
miscco pushed a commit to miscco/cccl that referenced this pull request Sep 3, 2025
miscco added a commit that referenced this pull request Sep 4, 2025
)

* Fix problematic clang attribute namespace (#5748)

* Properly guard ptx includes for when we are in cuda mode (#5749)

I have expanded our host-only header tests to also include those headers from `cuda/` that we expect to also work with a host compiler

Fixes #5747

---------

Co-authored-by: David Bayer <48736217+davebayer@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants