Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark kernels as internal #4098

Merged

Conversation

robertmaynard
Copy link
Contributor

Downstream consumers of static built versions of RAPIDS C++ projects have encountered runtime issues due to multiple instances of the same kernel existing in different DSOs.

To resolve this issue we need to ensure that all CUDA kernels in all RAPIDS libraries need to be have internal linkage ( static for projects using whole compilation, attribute((visibility("hidden"))) for header libraries / separable compilation ).

This updates all cugraph kernels to have internal linkage, and adds a CI job to verify that no new kernels are added with external linkage.

@robertmaynard robertmaynard force-pushed the fea/mark_kernels_as_internal branch from 0eea343 to fd90f62 Compare January 17, 2024 16:25
@robertmaynard robertmaynard added bug Something isn't working non-breaking Non-breaking change labels Jan 17, 2024
@robertmaynard robertmaynard force-pushed the fea/mark_kernels_as_internal branch 3 times, most recently from 20cb20b to 3d2f01d Compare January 17, 2024 18:52
@github-actions github-actions bot removed the conda label Jan 17, 2024
@robertmaynard robertmaynard force-pushed the fea/mark_kernels_as_internal branch 2 times, most recently from 98230b2 to a931ba2 Compare January 18, 2024 21:49
@BradReesWork BradReesWork added this to the 24.02 milestone Jan 23, 2024
@BradReesWork BradReesWork changed the base branch from branch-24.02 to branch-24.04 January 25, 2024 14:27
@BradReesWork BradReesWork modified the milestones: 24.02, 24.04 Jan 25, 2024
@robertmaynard robertmaynard force-pushed the fea/mark_kernels_as_internal branch from 2066ce1 to a7aa7d0 Compare February 7, 2024 18:02
@robertmaynard robertmaynard marked this pull request as ready for review February 7, 2024 18:02
@robertmaynard robertmaynard requested review from a team as code owners February 7, 2024 18:02
@robertmaynard robertmaynard force-pushed the fea/mark_kernels_as_internal branch from 7caf745 to 6e6073d Compare February 12, 2024 15:38
@naimnv
Copy link
Contributor

naimnv commented Feb 21, 2024

/ok to test

Copy link
Contributor

@naimnv naimnv left a comment

Choose a reason for hiding this comment

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

LGTM

@robertmaynard robertmaynard force-pushed the fea/mark_kernels_as_internal branch from 549ce67 to 28e6e8b Compare March 11, 2024 12:55
@robertmaynard
Copy link
Contributor Author

/merge

@ChuckHastings
Copy link
Collaborator

/merge

@rapids-bot rapids-bot bot merged commit c4a531d into rapidsai:branch-24.04 Mar 11, 2024
137 checks passed
@robertmaynard robertmaynard deleted the fea/mark_kernels_as_internal branch March 11, 2024 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cuGraph non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants