Skip to content

Use Specific CCCL Includes#2953

Merged
rapids-bot[bot] merged 9 commits intorapidsai:mainfrom
divyegala:unneeded-cccl-includes
Feb 18, 2026
Merged

Use Specific CCCL Includes#2953
rapids-bot[bot] merged 9 commits intorapidsai:mainfrom
divyegala:unneeded-cccl-includes

Conversation

@divyegala
Copy link
Copy Markdown
Member

@divyegala divyegala commented Feb 15, 2026

This is needed downstream because cub injects an EmptyKernel symbol into every TU that includes either cub/cub.cuh or cub/device/* includes, and this causes an issue for cubins created using JIT-LTO.

As such, when including RAFT headers in JIT TUs we must be mindful about not accidentally injecting EmptyKernel.

@divyegala divyegala self-assigned this Feb 15, 2026
@divyegala divyegala requested a review from a team as a code owner February 15, 2026 04:12
@divyegala divyegala added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Feb 15, 2026
Copy link
Copy Markdown
Member

@dantegd dantegd left a comment

Choose a reason for hiding this comment

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

Looks good, had one question in the comment and another here:

If a RAFT header that includes cub/device/* is pulled into a JIT-LTO TU in cuVS, we may still need to either avoid including that header in JIT TUs or rely on the existing EmptyKernel filtering. Would be worth a short note in the PR description and/or docs so future contributors know the intended interaction with JIT-LTO.

@divyegala divyegala requested a review from dantegd February 17, 2026 22:12
@divyegala
Copy link
Copy Markdown
Member Author

/merge

@rapids-bot rapids-bot bot merged commit 8ce6002 into rapidsai:main Feb 18, 2026
77 checks passed
This was referenced Feb 18, 2026
rapids-bot bot pushed a commit that referenced this pull request Feb 18, 2026
rapids-bot bot pushed a commit to rapidsai/cuvs that referenced this pull request Feb 18, 2026
@aamijar aamijar mentioned this pull request Feb 18, 2026
rapids-bot bot pushed a commit that referenced this pull request Feb 18, 2026
Follow up to #2954.
#2954 broke raft and cuvs CI since the PR branch was a few commits behind main during the CI run which didn't catch the conflict caused by #2953

Authors:
  - Anupam (https://github.com/aamijar)

Approvers:
  - Tarang Jain (https://github.com/tarang-jain)
  - Divye Gala (https://github.com/divyegala)
  - Corey J. Nolet (https://github.com/cjnolet)

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

Labels

improvement Improvement / enhancement to an existing function non-breaking Non-breaking change

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants