From 95b3c459b8fbacb3a01aba6c2ebf301a3c360b90 Mon Sep 17 00:00:00 2001 From: Allison Vacanti Date: Thu, 18 Mar 2021 16:08:30 -0400 Subject: [PATCH] Add some columns to an example. --- examples/exec_tag_sync.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/exec_tag_sync.cu b/examples/exec_tag_sync.cu index 2e262ee..0ef4ee7 100644 --- a/examples/exec_tag_sync.cu +++ b/examples/exec_tag_sync.cu @@ -45,8 +45,8 @@ void sequence_bench(nvbench::state &state) thrust::device_vector data(num_values); // Provide throughput information: - state.add_element_count(num_values); - state.add_global_memory_writes(num_values); + state.add_element_count(num_values, "Items"); + state.add_global_memory_writes(num_values, "Size"); // nvbench::exec_tag::sync indicates that this will implicitly sync: state.exec(nvbench::exec_tag::sync, [&data](nvbench::launch &launch) {