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: a global pool of result buffers across benchmark cases #2312

Conversation

achirkin
Copy link
Contributor

Introduce a global pool of host/device buffers for result neighbors and distances to keep the allocations across benchmark cases.
This slightly reduces the overheads of the benchmark setup, but, most importantly, reduces the number of cuda driver calls that may block the context. The latter is relevant for benchmarking persistent kernels - to let them run across multiple benchmark cases.

@achirkin achirkin added 3 - Ready for Review improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels May 14, 2024
@achirkin achirkin requested a review from a team as a code owner May 14, 2024 11:30
@github-actions github-actions bot added the cpp label May 14, 2024
@achirkin achirkin changed the title A global pool of result buffers across benchmark cases ANN_BENCH: a global pool of result buffers across benchmark cases May 14, 2024
@achirkin
Copy link
Contributor Author

/merge

@rapids-bot rapids-bot bot merged commit 8083fb4 into rapidsai:branch-24.06 May 15, 2024
70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review 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