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

Stop exporting fill_k kernel as that causes ODR violations #6021

Conversation

robertmaynard
Copy link
Contributor

Removes the usage of fill_k in cpp/src/fil/fil.cu as that breaks the ODR requirements of CUDA whole compilation. To allow setting the shared memory of the kernel we move the logic over to cpp/src/fil/infer.cu and provide a c++ interface.

@robertmaynard robertmaynard added bug Something isn't working non-breaking Non-breaking change labels Aug 13, 2024
@robertmaynard robertmaynard requested a review from a team as a code owner August 13, 2024 20:45
@robertmaynard robertmaynard changed the title Stop export fill_k kernel as that causes ODR violations Stop exporting fill_k kernel as that causes ODR violations Aug 14, 2024
@robertmaynard
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit f677791 into rapidsai:branch-24.10 Aug 15, 2024
62 of 63 checks passed
@robertmaynard robertmaynard deleted the bug/correct_odr_violation_in_fil branch August 15, 2024 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working CUDA/C++ non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants