From 7b640d613f368ce81e76e007829dd517f898134e Mon Sep 17 00:00:00 2001 From: Muhammad Haseeb <14217455+mhaseeb123@users.noreply.github.com> Date: Mon, 16 Sep 2024 10:50:10 -0700 Subject: [PATCH] Apply suggestion from codde review Co-authored-by: Yunsong Wang --- cpp/src/join/mixed_join_kernels_semi.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/src/join/mixed_join_kernels_semi.cu b/cpp/src/join/mixed_join_kernels_semi.cu index a1d1a56f15e..6673aa4dcf5 100644 --- a/cpp/src/join/mixed_join_kernels_semi.cu +++ b/cpp/src/join/mixed_join_kernels_semi.cu @@ -59,7 +59,7 @@ CUDF_KERNEL void __launch_bounds__(block_size) &intermediate_storage[tile.meta_group_rank() * device_expression_data.num_intermediates]; cudf::size_type const outer_num_rows = left_table.num_rows(); - cudf::size_type const outer_row_index = (threadIdx.x + blockIdx.x * block_size) / cg_size; + auto const outer_row_index = cudf::detail::grid_1d::global_thread_id() / cg_size; auto evaluator = cudf::ast::detail::expression_evaluator( left_table, right_table, device_expression_data);