From a834875826835ee542f68eb28263b793658b639d Mon Sep 17 00:00:00 2001 From: JayjeetAtGithub Date: Wed, 17 Jul 2024 20:38:19 -0700 Subject: [PATCH] Cosmetic changes --- cpp/benchmarks/common/cudf_datagen/dbgen.cu | 2 +- cpp/benchmarks/common/cudf_datagen/utils.hpp | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/cpp/benchmarks/common/cudf_datagen/dbgen.cu b/cpp/benchmarks/common/cudf_datagen/dbgen.cu index 55e57e27238..1875c83dc29 100644 --- a/cpp/benchmarks/common/cudf_datagen/dbgen.cu +++ b/cpp/benchmarks/common/cudf_datagen/dbgen.cu @@ -214,7 +214,7 @@ std::unique_ptr gen_rand_str_col_from_set(std::vector auto rand_keys_table = cudf::table_view({rand_keys->view()}); auto joined_table = - join_and_gather(rand_keys_table, vocab_table, {0}, {0}, cudf::null_equality::EQUAL); + perform_left_join(rand_keys_table, vocab_table, {0}, {0}, cudf::null_equality::EQUAL); return std::make_unique(joined_table->get_column(2)); } diff --git a/cpp/benchmarks/common/cudf_datagen/utils.hpp b/cpp/benchmarks/common/cudf_datagen/utils.hpp index 7eeafd60d82..2f201fdc509 100644 --- a/cpp/benchmarks/common/cudf_datagen/utils.hpp +++ b/cpp/benchmarks/common/cudf_datagen/utils.hpp @@ -41,11 +41,11 @@ void write_parquet(cudf::table_view tbl, cudf::io::write_parquet(options); } -std::unique_ptr join_and_gather(cudf::table_view const& left_input, - cudf::table_view const& right_input, - std::vector const& left_on, - std::vector const& right_on, - cudf::null_equality compare_nulls) +std::unique_ptr perform_left_join(cudf::table_view const& left_input, + cudf::table_view const& right_input, + std::vector const& left_on, + std::vector const& right_on, + cudf::null_equality compare_nulls) { constexpr auto oob_policy = cudf::out_of_bounds_policy::NULLIFY; auto const left_selected = left_input.select(left_on);