From b5b0a4250e5d94e788a04052fe21efc057df65d2 Mon Sep 17 00:00:00 2001 From: Nghia Truong Date: Thu, 26 May 2022 13:48:05 -0700 Subject: [PATCH 1/4] Change file extension --- cpp/benchmarks/CMakeLists.txt | 14 +++++++------- ...{group_no_requests.cu => group_no_requests.cpp} | 0 .../groupby/{group_nth.cu => group_nth.cpp} | 0 ..._rank_benchmark.cu => group_rank_benchmark.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, 7 insertions(+), 7 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_benchmark.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..42e21dbfc92 100644 --- a/cpp/benchmarks/CMakeLists.txt +++ b/cpp/benchmarks/CMakeLists.txt @@ -195,16 +195,16 @@ 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_sum.cpp + groupby/group_nth.cpp + groupby/group_shift.cpp groupby/group_struct_values.cpp - groupby/group_no_requests.cu - groupby/group_scan.cu - groupby/group_rank_benchmark.cu + groupby/group_no_requests.cpp + groupby/group_scan.cpp + groupby/group_rank_benchmark.cpp ) -ConfigureNVBench(GROUPBY_NVBENCH groupby/group_rank_benchmark.cu groupby/group_struct_keys.cpp) +ConfigureNVBench(GROUPBY_NVBENCH groupby/group_rank_benchmark.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_benchmark.cpp similarity index 100% rename from cpp/benchmarks/groupby/group_rank_benchmark.cu rename to cpp/benchmarks/groupby/group_rank_benchmark.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 From c29eb51933d6da7d28b4dae3e4b6302e236aecdd Mon Sep 17 00:00:00 2001 From: Nghia Truong Date: Fri, 27 May 2022 08:35:26 -0700 Subject: [PATCH 2/4] Rename --- cpp/benchmarks/CMakeLists.txt | 4 ++-- .../groupby/{group_rank_benchmark.cpp => group_rank.cpp} | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename cpp/benchmarks/groupby/{group_rank_benchmark.cpp => group_rank.cpp} (100%) diff --git a/cpp/benchmarks/CMakeLists.txt b/cpp/benchmarks/CMakeLists.txt index 42e21dbfc92..5a60c10c89d 100644 --- a/cpp/benchmarks/CMakeLists.txt +++ b/cpp/benchmarks/CMakeLists.txt @@ -201,10 +201,10 @@ ConfigureBench( groupby/group_struct_values.cpp groupby/group_no_requests.cpp groupby/group_scan.cpp - groupby/group_rank_benchmark.cpp + groupby/group_rank.cpp ) -ConfigureNVBench(GROUPBY_NVBENCH groupby/group_rank_benchmark.cpp 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_rank_benchmark.cpp b/cpp/benchmarks/groupby/group_rank.cpp similarity index 100% rename from cpp/benchmarks/groupby/group_rank_benchmark.cpp rename to cpp/benchmarks/groupby/group_rank.cpp From be0fd72db84da17beb8afa6ae76102821c06da9e Mon Sep 17 00:00:00 2001 From: Nghia Truong Date: Fri, 27 May 2022 08:38:52 -0700 Subject: [PATCH 3/4] Remove file from benchmark --- cpp/benchmarks/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/cpp/benchmarks/CMakeLists.txt b/cpp/benchmarks/CMakeLists.txt index 5a60c10c89d..c42e184296e 100644 --- a/cpp/benchmarks/CMakeLists.txt +++ b/cpp/benchmarks/CMakeLists.txt @@ -201,7 +201,6 @@ ConfigureBench( groupby/group_struct_values.cpp groupby/group_no_requests.cpp groupby/group_scan.cpp - groupby/group_rank.cpp ) ConfigureNVBench(GROUPBY_NVBENCH groupby/group_rank.cpp groupby/group_struct_keys.cpp) From 9b8761da2c65148e3c7adb311c076573d59f367a Mon Sep 17 00:00:00 2001 From: Nghia Truong Date: Fri, 27 May 2022 09:06:21 -0700 Subject: [PATCH 4/4] Fix format --- cpp/benchmarks/CMakeLists.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/cpp/benchmarks/CMakeLists.txt b/cpp/benchmarks/CMakeLists.txt index c42e184296e..4d0a16c5372 100644 --- a/cpp/benchmarks/CMakeLists.txt +++ b/cpp/benchmarks/CMakeLists.txt @@ -194,13 +194,8 @@ ConfigureBench(FILL_BENCH filling/repeat.cpp) # ################################################################################################## # * groupby benchmark ----------------------------------------------------------------------------- ConfigureBench( - 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 + 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.cpp groupby/group_struct_keys.cpp)