[libcu++] Add support for family-specific architectures#8419
Draft
davebayer wants to merge 1 commit intoNVIDIA:mainfrom
Draft
[libcu++] Add support for family-specific architectures#8419davebayer wants to merge 1 commit intoNVIDIA:mainfrom
davebayer wants to merge 1 commit intoNVIDIA:mainfrom
Conversation
Contributor
|
Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually. Contributors can view more details about this message here. |
Contributor
Author
|
/ok to test 32bdf06 |
bernhardmgruber
approved these changes
Apr 14, 2026
Contributor
🥳 CI Workflow Results🟩 Finished in 4h 18m: Pass: 100%/108 | Total: 4d 10h | Max: 4h 18m | Hits: 65%/282754See results here. |
davebayer
commented
Apr 15, 2026
| #define _CCCL_DEFINE_ARCH_SPECIFIC_ID(_CC) sm_##_CC##a = _CC * __arch_specific_id_multiplier, | ||
| #define _CCCL_DEFINE_ARCH_ID(_CC) sm_##_CC = _CC, | ||
| #define _CCCL_DEFINE_FAMILY_SPECIFIC_ID(_CC) sm_##_CC##f = _CC + __family_specific_id_offset, | ||
| #define _CCCL_DEFINE_ARCH_SPECIFIC_ID(_CC) sm_##_CC##a = _CC + __arch_specific_id_offset, |
Contributor
Author
There was a problem hiding this comment.
This is ABI break, but I don't think there is any other way to fit the data here. I could keep the a variants to use * and f variants to use +
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.
This PR adds support for family specific architectures in libcu++ (
sm_XYf)