Oleksandr Pavlyk
0746ad1fa1
Add decorators for registering benchmarks and adding axis
...
cuda.bench.register(fn) continues returning Benchmark, and supports
legacy use.
New signature added:
cuda.bench.register():
Returns a decorator
```
@bench.register()
@bench.axis.float64("Duration (s)", [7e-5, 1e-4, 5e-4])
@bench.option.min_samples(120)
def single_float64_axis(state: bench.State):
...
```
2026-05-04 08:41:02 -05:00
Oleksandr Pavlyk
f392725015
Correct Python API signature of State.get_axis_values_as_strings ( #346 )
...
* Correct Python API signature of State.get_axis_values_as_strings
The C++ API has default boolean argument color, but Python API
declared no arguments.
Closes #345
* Also exercise invocation of get_axis_values_as_string with keyword argument value
* Remove use of cuda.core.experimental
2026-05-04 08:40:29 -05:00
Nader Al Awar
d75fc74162
Merge branch 'main' into remove-cupti-python
2026-02-03 08:58:41 -06:00
Nader Al Awar
6df5fc8c67
Remove cupti from cuda-bench dependencies
2026-02-02 15:37:13 -06:00
Oleksandr Pavlyk
39c29026fd
Move docstrings from PYI file to implementation
...
Added tests that docstrings exist and are not empty.
This closes #291
2026-02-02 11:55:48 -06:00
Oleksandr Pavlyk
b5e4b4ba31
cuda.nvbench -> cuda.bench
...
Per PR review suggestion:
- `cuda.parallel` - device-wide algorithms/Thrust
- `cuda.cooperative` - Cooperative algorithsm/CUB
- `cuda.bench` - Benchmarking/NVBench
2025-08-04 13:42:43 -05:00