From 67acc6edbc29bc1403c99a401e947176a048980b Mon Sep 17 00:00:00 2001 From: Nghia Truong Date: Fri, 27 May 2022 10:58:55 -0700 Subject: [PATCH] Change file extension for groupby benchmark (#10985) Files in the groupby benchmark do not need to be in `.cu` extension---they don't contain any device code. This PR changes them to the `.cpp` extension. Authors: - Nghia Truong (https://github.com/ttnghia) Approvers: - Vukasin Milovanovic (https://github.com/vuule) - Bradley Dice (https://github.com/bdice) - Conor Hoekstra (https://github.com/codereport) URL: https://github.com/rapidsai/cudf/pull/10985 --- cpp/benchmarks/CMakeLists.txt | 12 +++--------- .../{group_no_requests.cu => group_no_requests.cpp} | 0 .../groupby/{group_nth.cu => group_nth.cpp} | 0 .../{group_rank_benchmark.cu => group_rank.cpp} | 0 .../groupby/{group_scan.cu => group_scan.cpp} | 0 .../groupby/{group_shift.cu => group_shift.cpp} | 0 .../groupby/{group_sum.cu => group_sum.cpp} | 0 7 files changed, 3 insertions(+), 9 deletions(-) rename cpp/benchmarks/groupby/{group_no_requests.cu => group_no_requests.cpp} (100%) rename cpp/benchmarks/groupby/{group_nth.cu => group_nth.cpp} (100%) rename cpp/benchmarks/groupby/{group_rank_benchmark.cu => group_rank.cpp} (100%) rename cpp/benchmarks/groupby/{group_scan.cu => group_scan.cpp} (100%) rename cpp/benchmarks/groupby/{group_shift.cu => group_shift.cpp} (100%) rename cpp/benchmarks/groupby/{group_sum.cu => group_sum.cpp} (100%) diff --git a/cpp/benchmarks/CMakeLists.txt b/cpp/benchmarks/CMakeLists.txt index cb4ead20d00..4d0a16c5372 100644 --- a/cpp/benchmarks/CMakeLists.txt +++ b/cpp/benchmarks/CMakeLists.txt @@ -194,17 +194,11 @@ ConfigureBench(FILL_BENCH filling/repeat.cpp) # ################################################################################################## # * groupby benchmark ----------------------------------------------------------------------------- ConfigureBench( - GROUPBY_BENCH - groupby/group_sum.cu - groupby/group_nth.cu - groupby/group_shift.cu - groupby/group_struct_values.cpp - groupby/group_no_requests.cu - groupby/group_scan.cu - groupby/group_rank_benchmark.cu + GROUPBY_BENCH groupby/group_sum.cpp groupby/group_nth.cpp groupby/group_shift.cpp + groupby/group_struct_values.cpp groupby/group_no_requests.cpp groupby/group_scan.cpp ) -ConfigureNVBench(GROUPBY_NVBENCH groupby/group_rank_benchmark.cu groupby/group_struct_keys.cpp) +ConfigureNVBench(GROUPBY_NVBENCH groupby/group_rank.cpp groupby/group_struct_keys.cpp) # ################################################################################################## # * hashing benchmark ----------------------------------------------------------------------------- diff --git a/cpp/benchmarks/groupby/group_no_requests.cu b/cpp/benchmarks/groupby/group_no_requests.cpp similarity index 100% rename from cpp/benchmarks/groupby/group_no_requests.cu rename to cpp/benchmarks/groupby/group_no_requests.cpp diff --git a/cpp/benchmarks/groupby/group_nth.cu b/cpp/benchmarks/groupby/group_nth.cpp similarity index 100% rename from cpp/benchmarks/groupby/group_nth.cu rename to cpp/benchmarks/groupby/group_nth.cpp diff --git a/cpp/benchmarks/groupby/group_rank_benchmark.cu b/cpp/benchmarks/groupby/group_rank.cpp similarity index 100% rename from cpp/benchmarks/groupby/group_rank_benchmark.cu rename to cpp/benchmarks/groupby/group_rank.cpp diff --git a/cpp/benchmarks/groupby/group_scan.cu b/cpp/benchmarks/groupby/group_scan.cpp similarity index 100% rename from cpp/benchmarks/groupby/group_scan.cu rename to cpp/benchmarks/groupby/group_scan.cpp diff --git a/cpp/benchmarks/groupby/group_shift.cu b/cpp/benchmarks/groupby/group_shift.cpp similarity index 100% rename from cpp/benchmarks/groupby/group_shift.cu rename to cpp/benchmarks/groupby/group_shift.cpp diff --git a/cpp/benchmarks/groupby/group_sum.cu b/cpp/benchmarks/groupby/group_sum.cpp similarity index 100% rename from cpp/benchmarks/groupby/group_sum.cu rename to cpp/benchmarks/groupby/group_sum.cpp