Skip to content

Commit 8ad0290

Browse files
authored
Fix compile error in benchmark nested_json.cpp (#11637)
Fixes compile error introduced in PR #11466 due to mismatched changes occurring in PR #11534 https://gpuci.gpuopenanalytics.com/job/rapidsai/job/gpuci/job/cudf/job/prb/job/cudf-cpu-cuda-build/CUDA=11.5/11851/console Authors: - David Wendt (https://github.com/davidwendt) Approvers: - Elias Stehle (https://github.com/elstehle) - Karthikeyan (https://github.com/karthikeyann) - Nghia Truong (https://github.com/ttnghia) URL: #11637
1 parent e5c8776 commit 8ad0290

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cpp/benchmarks/io/json/nested_json.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ void BM_NESTED_JSON(nvbench::state& state)
6565
cudf::rmm_pool_raii rmm_pool;
6666

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

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

0 commit comments

Comments
 (0)