From 242a8b438eeba5c1ce16aded99fff4082ee66baa Mon Sep 17 00:00:00 2001 From: Basit Ayantunde Date: Tue, 1 Oct 2024 10:00:55 +0000 Subject: [PATCH] fixed ast benchmarks display of throughput measurements --- cpp/benchmarks/ast/transform.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cpp/benchmarks/ast/transform.cpp b/cpp/benchmarks/ast/transform.cpp index 0f5787955da..af14d48d242 100644 --- a/cpp/benchmarks/ast/transform.cpp +++ b/cpp/benchmarks/ast/transform.cpp @@ -85,11 +85,11 @@ static void BM_ast_transform(nvbench::state& state) auto const& expression_tree_root = expressions.back(); - state.exec(nvbench::exec_tag::sync, - [&](nvbench::launch&) { cudf::compute_column(table, expression_tree_root); }); - // Use the number of bytes read from global memory state.add_global_memory_reads(table_size * (tree_levels + 1)); + + state.exec(nvbench::exec_tag::sync, + [&](nvbench::launch&) { cudf::compute_column(table, expression_tree_root); }); } #define AST_TRANSFORM_BENCHMARK_DEFINE(name, key_type, tree_type, reuse_columns, nullable) \