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

ANN-bench: more flexible cuda_stub.hpp #1792

Merged

Conversation

achirkin
Copy link
Contributor

Make the cpp/bench/ann/src/common/cuda_stub.hpp more flexible and include it in all benchmarks (instead of only ANN_BENCH target).
This makes the targets (benchmark libs), which define CPU_ONLY, on depend on CUDA headers, thus enabling the builds without GPU.
This should relief #1773 of doing extra workarounds in the bench headers to achieve the same effect.

@achirkin achirkin requested a review from a team as a code owner August 31, 2023 11:39
@github-actions github-actions bot added the cpp label Aug 31, 2023
@achirkin achirkin added enhancement New feature or request improvement Improvement / enhancement to an existing function and removed enhancement New feature or request labels Aug 31, 2023
@achirkin achirkin requested a review from dantegd August 31, 2023 11:50
@achirkin achirkin requested a review from a team as a code owner August 31, 2023 12:30
@github-actions github-actions bot added the CMake label Aug 31, 2023
@cjnolet
Copy link
Member

cjnolet commented Sep 2, 2023

/merge

@rapids-bot rapids-bot bot merged commit a87320b into rapidsai:branch-23.10 Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review CMake cpp improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
Development

Successfully merging this pull request may close these issues.

2 participants