Skip to content

Commit 9cb8f6f

Browse files
committed
use sync verion of make_pinned_vector
Signed-off-by: Jigao Luo <[email protected]>
1 parent 1bb499f commit 9cb8f6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/include/cudf/reduction/detail/reduction.cuh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ std::unique_ptr<scalar> reduce(InputIterator d_in,
6666
{
6767
auto const binary_op = cudf::detail::cast_functor<OutputType>(op.get_binary_op());
6868
auto const initial_value = init.value_or(op.template get_identity<OutputType>());
69-
auto pinned_initial = cudf::detail::make_pinned_vector_async<OutputType>(1, stream);
69+
auto pinned_initial = cudf::detail::make_pinned_vector<OutputType>(1, stream);
7070
pinned_initial[0] = initial_value;
7171
using ScalarType = cudf::scalar_type_t<OutputType>;
7272
auto result = std::make_unique<ScalarType>(pinned_initial[0], true, stream, mr);

0 commit comments

Comments
 (0)