Skip to content

Commit

Permalink
Remove mr param from write_chunked
Browse files Browse the repository at this point in the history
  • Loading branch information
JayjeetAtGithub committed Jul 9, 2024
1 parent 9c4006d commit c383531
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions cpp/src/io/json/write_json.cu
Original file line number Diff line number Diff line change
Expand Up @@ -805,8 +805,7 @@ void write_chunked(data_sink* out_sink,
strings_column_view const& str_column_view,
int const skip_last_chars,
json_writer_options const& options,
rmm::cuda_stream_view stream,
rmm::device_async_resource_ref mr)
rmm::cuda_stream_view stream)
{
CUDF_FUNC_RANGE();
CUDF_EXPECTS(str_column_view.size() > 0, "Unexpected empty strings column.");
Expand Down Expand Up @@ -911,12 +910,7 @@ void write_json(data_sink* out_sink,
bool const include_line_terminator =
(&sub_view != &vector_views.back()) or options.is_enabled_lines();
auto const skip_last_chars = (include_line_terminator ? 0 : line_terminator.size());
write_chunked(out_sink,
str_concat_col->view(),
skip_last_chars,
options,
stream,
rmm::mr::get_current_device_resource());
write_chunked(out_sink, str_concat_col->view(), skip_last_chars, options, stream);
}
} else {
if (options.is_enabled_lines()) {
Expand Down

0 comments on commit c383531

Please sign in to comment.