Skip to content

Commit 797f91b

Browse files
committed
Update example to show to customize throttle threshold
1 parent 31efce1 commit 797f91b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/custom_criterion.cu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,4 @@ void throughput_bench(nvbench::state &state)
7474
num_values);
7575
});
7676
}
77-
NVBENCH_BENCH(throughput_bench).set_stopping_criterion("fixed");
77+
NVBENCH_BENCH(throughput_bench).set_stopping_criterion("fixed").set_throttle_threshold(0.8f);

0 commit comments

Comments
 (0)