Drop ability to zip axii after construction

This commit is contained in:
Robert Maynard
2022-08-29 09:42:38 -04:00
parent 5ebe7fe8df
commit dc7e2b789d
7 changed files with 63 additions and 310 deletions

View File

@@ -259,9 +259,8 @@ using input_types = nvbench::type_list<char, int, unsigned int>;
using output_types = nvbench::type_list<float, double>;
NVBENCH_BENCH_TYPES(benchmark, NVBENCH_TYPE_AXES(input_types, output_types))
.set_type_axes_names({"InputType", "OutputType"})
.add_int64_axis("NumInputs", {1000, 10000, 100000, 200000, 200000, 200000})
.add_float64_axis("Quality", {0.05, 0.1, 0.25, 0.5, 0.75, 1.})
.zip_axes({"NumInputs", "Quality"});
.add_zip_axes(nvbench::int64_axis{"NumInputs", {1000, 10000, 100000, 200000, 200000, 200000}},
nvbench::float64_axis{"Quality", {0.05, 0.1, 0.25, 0.5, 0.75, 1.}});
```
Zipping these two axes reduces the total combinations from 216 to 36, reducing the