Arkar Min Aung
|
cb4dc59a9e
|
feat(benchmarks): add comprehensive SVD performance benchmarks
Add benchmarks for Metal SVD implementation as required by CONTRIBUTING.md:
- Square matrix benchmarks (64x64 to 512x512)
- Rectangular matrix benchmarks
- Batched matrix benchmarks
- CPU vs GPU performance comparison
- Special matrices (identity, diagonal, zero)
Benchmarks validate performance improvements from GPU acceleration
and help identify performance regressions in future changes.
Usage:
python benchmarks/python/svd_bench.py --gpu
python benchmarks/python/svd_bench.py --compare
python benchmarks/python/svd_bench.py --all
|
2025-06-15 18:09:11 +10:00 |
|