Skip to content

Commit

Permalink
Cosmetic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JayjeetAtGithub committed Jul 18, 2024
1 parent 0f47bef commit a834875
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cpp/benchmarks/common/cudf_datagen/dbgen.cu
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ std::unique_ptr<cudf::column> gen_rand_str_col_from_set(std::vector<std::string>
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<cudf::column>(joined_table->get_column(2));
}

Expand Down
10 changes: 5 additions & 5 deletions cpp/benchmarks/common/cudf_datagen/utils.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,11 @@ void write_parquet(cudf::table_view tbl,
cudf::io::write_parquet(options);
}

std::unique_ptr<cudf::table> join_and_gather(cudf::table_view const& left_input,
cudf::table_view const& right_input,
std::vector<cudf::size_type> const& left_on,
std::vector<cudf::size_type> const& right_on,
cudf::null_equality compare_nulls)
std::unique_ptr<cudf::table> perform_left_join(cudf::table_view const& left_input,
cudf::table_view const& right_input,
std::vector<cudf::size_type> const& left_on,
std::vector<cudf::size_type> 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);
Expand Down

0 comments on commit a834875

Please sign in to comment.