Skip to content

[libcu++] Add support for family-specific architectures#8419

Draft
davebayer wants to merge 1 commit intoNVIDIA:mainfrom
davebayer:family_specifc_support
Draft

[libcu++] Add support for family-specific architectures#8419
davebayer wants to merge 1 commit intoNVIDIA:mainfrom
davebayer:family_specifc_support

Conversation

@davebayer
Copy link
Copy Markdown
Contributor

This PR adds support for family specific architectures in libcu++ (sm_XYf)

@copy-pr-bot
Copy link
Copy Markdown
Contributor

copy-pr-bot bot commented Apr 14, 2026

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.

@davebayer
Copy link
Copy Markdown
Contributor Author

/ok to test 32bdf06

@cccl-authenticator-app cccl-authenticator-app bot moved this from Todo to In Progress in CCCL Apr 14, 2026
@davebayer davebayer changed the title Add support for family-specific architectures [libcu++] Add support for family-specific architectures Apr 14, 2026
@github-project-automation github-project-automation bot moved this from In Progress to In Review in CCCL Apr 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🥳 CI Workflow Results

🟩 Finished in 4h 18m: Pass: 100%/108 | Total: 4d 10h | Max: 4h 18m | Hits: 65%/282754

See results here.

#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,
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 +

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Review

Development

Successfully merging this pull request may close these issues.

2 participants