Skip to content

Commit

Permalink
fixed ast benchmarks display of throughput measurements
Browse files Browse the repository at this point in the history
  • Loading branch information
lamarrr committed Oct 1, 2024
1 parent ca95756 commit 242a8b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cpp/benchmarks/ast/transform.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<key_type>(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) \
Expand Down

0 comments on commit 242a8b4

Please sign in to comment.