Expand description
Native Rust benchmark runner module.
Dispatches to the existing benchmarks/ module functions.
Provides the CLI-facing interface for running individual benchmarks,
the full suite, and JSON output.
Ports functionality from:
scripts/run_rocm_benchmarks.sh→ ROCm benchmarksscripts/run_all_benchmarks_suite.sh→ full suitescripts/run_benchmarks.sh→ individual benchmark dispatch
Structs§
- Benchmark
Output - Combined benchmark result for CLI output.
Functions§
- available_
benchmarks - Returns all available benchmark names in canonical order.
- format_
output_ human - Format benchmark output as human-readable text.
- format_
output_ json - Format benchmark output as JSON.
- is_
valid_ benchmark - Returns true if the benchmark name is recognized.
- run_
benchmark - Run a single named benchmark, dispatching to the correct benchmarks:: function.