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

Rename headers and function qualifiers to enable CPU-only compilation #1663

Open
tarang-jain opened this issue Jul 21, 2023 · 0 comments
Open
Labels
feature request New feature or request

Comments

@tarang-jain
Copy link
Contributor

cpp/include/raft/util/pow2_utils.cuh can be renamed to cpp/include/raft/util/pow2_utils.hpp and the function qualifiers within this file can be changed to _RAFT_HOST_DEVICE, which will enable this to be used in CPU-only compilation. There are more examples where this change can be made.
cpp/include/raft/util/fast_int_div.cuh is another such example.

@tarang-jain tarang-jain added the feature request New feature or request label Jul 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant