mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-04-20 06:48:53 +00:00
Remove min-time/max-noise API. (#223)
These are now owned by the stdrel stopping criterion, and should not be exposed directly in the benchmark/state/etc APIs. This will affect users that are calling `NVBENCH_BENCH(...).set_min_time(...)` or `NVBENCH_BENCH(...).set_max_noise(...)`. These can be updated to `NVBENCH_BENCH(...).set_criterion_param_float64(["min-time"|"max-noise"], ...)`.
This commit is contained in:
@@ -140,4 +140,4 @@ NVBENCH_BENCH(noisy_bench)
|
||||
.add_float64_axis("Noise", {0.1, 5., 25.}) // %
|
||||
// disable this; we want to test that the benchmarking loop will still exit
|
||||
// when max_noise is never reached:
|
||||
.set_max_noise(0.0000001);
|
||||
.set_criterion_param_float64("max-noise", 0.0000001);
|
||||
|
||||
Reference in New Issue
Block a user