mirror of
https://github.com/NVIDIA/nvbench.git
synced 2026-04-29 19:21:14 +00:00
Fix typo in documentation: set_type_axis_names should be set_type_axes_names
This commit is contained in:
committed by
GitHub
parent
8d8b9d42c5
commit
39b2770b62
@@ -188,7 +188,7 @@ void my_benchmark(nvbench::state& state, nvbench::type_list<T>)
|
|||||||
}
|
}
|
||||||
using my_types = nvbench::type_list<int, float, double>;
|
using my_types = nvbench::type_list<int, float, double>;
|
||||||
NVBENCH_BENCH_TYPES(my_benchmark, NVBENCH_TYPE_AXES(my_types))
|
NVBENCH_BENCH_TYPES(my_benchmark, NVBENCH_TYPE_AXES(my_types))
|
||||||
.set_type_axis_names({"ValueType"});
|
.set_type_axes_names({"ValueType"});
|
||||||
```
|
```
|
||||||
|
|
||||||
The `NVBENCH_TYPE_AXES` macro is unfortunately necessary to prevent commas in
|
The `NVBENCH_TYPE_AXES` macro is unfortunately necessary to prevent commas in
|
||||||
|
|||||||
Reference in New Issue
Block a user