| 1 | // |
| 2 | // SPDX-FileCopyrightText: Copyright 2025 Arm Limited and/or its affiliates <[email protected]> |
| 3 | // |
| 4 | // SPDX-License-Identifier: Apache-2.0 |
| 5 | // |
| 6 | |
| 7 | #ifndef KLEIDIAI_BENCHMARK_MATMUL_MATMUL_REGISTRY_HPP |
| 8 | #define KLEIDIAI_BENCHMARK_MATMUL_MATMUL_REGISTRY_HPP |
| 9 | |
| 10 | #include <cstddef> |
| 11 | |
| 12 | #include "test/common/matmul_test_common.hpp" |
| 13 | |
| 14 | namespace kai::benchmark { |
| 15 | using test::MatMulShape; |
| 16 | |
| 17 | /// Registers matrix multiplication micro-kernels for benchmarking. |
| 18 | /// |
| 19 | /// @param shape Shape with M, N and K dimensions describing the matrix multiplication problem. |
| 20 | /// @param bl Block size. Used for micro-kernels with dynamic blockwise quantization. |
| 21 | void RegisterMatMulBenchmarks(const MatMulShape& shape, size_t bl); |
| 22 | |
| 23 | } // namespace kai::benchmark |
| 24 | |
| 25 | #endif // KLEIDIAI_BENCHMARK_MATMUL_MATMUL_REGISTRY_HPP |