Skip to content

Commit

Permalink
Use exec_policy_nosync instead of exec_policy
Browse files Browse the repository at this point in the history
  • Loading branch information
Chong Gao committed Nov 26, 2024
1 parent 2daca3f commit 3afdfde
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/cpp/compile_commands.json
2 changes: 1 addition & 1 deletion src/main/cpp/src/HLLPP.cu
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ std::unique_ptr<cudf::column> estimate_from_hll_sketches(cudf::column_view const
auto result = cudf::make_numeric_column(
cudf::data_type{cudf::type_id::INT64}, input.size(), cudf::mask_state::ALL_VALID, stream);
// evaluate from struct<long, ..., long>
thrust::for_each_n(rmm::exec_policy(stream),
thrust::for_each_n(rmm::exec_policy_nosync(stream),
thrust::make_counting_iterator(0),
input.size(),
estimate_fn{d_inputs, precision, result->mutable_view().data<int64_t>()});
Expand Down

0 comments on commit 3afdfde

Please sign in to comment.