Repository navigation
[rocthrust] Fix THRUST_CUB_WRAPPED_NAMESPACE compile errors in headers - #6460
Closed
darren-amd wants to merge 1 commit into
Closed
darren-amd wants to merge 1 commit into
darren-amd wants to merge 1 commit into
Conversation
Made-with: Cursor
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project status has failed because the head coverage (47.50%) is below the target coverage (80.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## develop #6460 +/- ##
========================================
Coverage 66.54% 66.54%
========================================
Files 2176 2176
Lines 322657 322657
Branches 41670 41671 +1
========================================
+ Hits 214707 214708 +1
+ Misses 93296 93295 -1
Partials 14654 14654
*This pull request uses carry forward flags. Click here to find out more.
🚀 New features to boost your workflow:
|
Member
|
@darren-amd There's also a @matyas-streamhpc @yungshengtu does this also impact the CCCL 3.x branches? |
Contributor
Author
|
Fixed with: 137dda8 |
yungshengtu
added a commit
that referenced
this pull request
Apr 30, 2026
yungshengtu
added a commit
that referenced
this pull request
May 15, 2026
yungshengtu
added a commit
that referenced
this pull request
May 20, 2026
yungshengtu
added a commit
that referenced
this pull request
May 22, 2026
yungshengtu
added a commit
that referenced
this pull request
May 22, 2026
yungshengtu
added a commit
that referenced
this pull request
May 30, 2026
yungshengtu
added a commit
that referenced
this pull request
Jun 11, 2026
yungshengtu
added a commit
that referenced
this pull request
Jun 12, 2026
yungshengtu
added a commit
that referenced
this pull request
Jun 12, 2026
yungshengtu
added a commit
that referenced
this pull request
Jun 29, 2026
yungshengtu
added a commit
that referenced
this pull request
Jun 29, 2026
yungshengtu
added a commit
that referenced
this pull request
Jul 3, 2026
stanleytsang-amd
pushed a commit
that referenced
this pull request
Jul 16, 2026
yungshengtu
added a commit
that referenced
this pull request
Jul 17, 2026
yungshengtu
added a commit
that referenced
this pull request
Jul 24, 2026
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.
Motivation
Fixes #6309
When
THRUST_CUB_WRAPPED_NAMESPACEis defined (e.g.,gkofor the Ginkgo project), thethrustnamespace is wrapped:Several headers use hardcoded
::thrust::references in#elsebranches (when_THRUST_HAS_DEVICE_SYSTEM_STDis false), which fail to resolve.Technical Details
Replaced hardcoded
::thrust::withTHRUST_NS_QUALIFIERin three locations across two filesTHRUST_NS_QUALIFIERresolves to::THRUST_WRAPPED_NAMESPACE::thrustwhen a wrapped namespace is defined, and::thrustotherwise, so this is not an issue for unwrapped builds.Test Plan
Test Result
Submission Checklist