Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix calls to copy_bitmask to pass stream parameter #14158

Merged
merged 4 commits into from
Sep 22, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cpp/src/lists/count_elements.cu
bdice marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2021-2022, NVIDIA CORPORATION.
* Copyright (c) 2021-2023, NVIDIA CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -52,7 +52,7 @@ std::unique_ptr<column> count_elements(lists_column_view const& input,
// create output column
auto output = make_fixed_width_column(data_type{type_to_id<size_type>()},
input.size(),
copy_bitmask(input.parent()),
copy_bitmask(input.parent(), stream, mr),
davidwendt marked this conversation as resolved.
Show resolved Hide resolved
input.null_count(),
stream,
mr);
Expand Down
4 changes: 3 additions & 1 deletion cpp/src/replace/clamp.cu
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,9 @@ std::enable_if_t<cudf::is_fixed_width<T>(), std::unique_ptr<cudf::column>> clamp
auto output =
detail::allocate_like(input, input.size(), mask_allocation_policy::NEVER, stream, mr);
// mask will not change
if (input.nullable()) { output->set_null_mask(copy_bitmask(input), input.null_count()); }
if (input.nullable()) {
output->set_null_mask(copy_bitmask(input, stream, mr), input.null_count());
}

auto output_device_view =
cudf::mutable_column_device_view::create(output->mutable_view(), stream);
Expand Down
Loading