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:
Allison Piper
2025-05-08 10:02:54 -04:00
committed by GitHub
parent a36e15f6ca
commit f44f5cc22c
12 changed files with 17 additions and 142 deletions

View File

@@ -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);