-
Notifications
You must be signed in to change notification settings - Fork 912
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
Move NDS-H examples into benchmarks #16663
Move NDS-H examples into benchmarks #16663
Conversation
@davidwendt @PointKernel Would you please review this changeset from Jayjeet? |
Should we migrate at least one example or benchmark to NVBench in this PR to ensure that the build system and data generation work correctly in the new setup? Doing this now will make the follow-up PRs more straightforward. |
Hi @PointKernel , The datagen PR #16294 is yet to be merged. So, we can't integrate the examples/benchmarks with the datagen yet. But, I can convert these to NVBenches regardless, but they would need local files to exist for now. |
Hi @PointKernel , So, I will have to hardcode the dataset dir for my dev env for me to convert these to nvbenches now, which I don't think is a good idea. Can we just merge it without NVbench for now ? |
I could miss something obvious but can we can wait for #16294 to be merged first and then focus on NVbench migration in this PR? Moving existing code and outdated documentation to a new location without making actual changes can easily lead to overlooked details. |
@JayjeetAtGithub to unblock yourself, you may work on with changes from #16294 in a new branch and create a PR, mention that #16294 and #16663 are dependent PRs in description. |
d2d01d6
to
85e4b54
Compare
cpp/benchmarks/tpch/q1.cpp
Outdated
{ | ||
auto stream = cudf::get_default_stream(); | ||
state.set_cuda_stream(nvbench::make_cuda_stream_view(stream.value())); | ||
state.exec(nvbench::exec_tag::sync, [&](nvbench::launch& launch) { run_tpch_q1(state); }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would it be better to pass the stream through to run_tpch_q1
and use stream-ordered APIs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A new README for these benchmarks would be helpful. I have a couple comments but this is looking close to ready.
f6eb995
to
38ee8c3
Compare
/merge |
Description
Moving the TPC-H examples into benchmarks by converting each of them into NVBench's. The benchmarks can be built by
Also, addresses #16711
Checklist