Skip to content

Commit

Permalink
Fix compile error in benchmark nested_json.cpp (#11637)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidwendt authored Sep 1, 2022
1 parent e5c8776 commit 8ad0290
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cpp/benchmarks/io/json/nested_json.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ void BM_NESTED_JSON(nvbench::state& state)
cudf::rmm_pool_raii rmm_pool;

auto const string_size{size_type(state.get_int64("string_size"))};
auto const default_options = cudf::io::json_reader_options{};

auto input = make_test_json_data(string_size, cudf::default_stream_value);
state.add_element_count(input.size());
Expand All @@ -73,7 +74,7 @@ void BM_NESTED_JSON(nvbench::state& state)
state.set_cuda_stream(nvbench::make_cuda_stream_view(cudf::default_stream_value.value()));
state.exec(nvbench::exec_tag::sync, [&](nvbench::launch& launch) {
// Allocate device-side temporary storage & run algorithm
cudf::io::json::detail::parse_nested_json(input, cudf::default_stream_value);
cudf::io::json::detail::parse_nested_json(input, default_options, cudf::default_stream_value);
});
}

Expand Down

0 comments on commit 8ad0290

Please sign in to comment.