| 1 | // |
| 2 | // SPDX-FileCopyrightText: Copyright 2025-2026 Arm Limited and/or its affiliates <open-source-office@arm.com> |
| 3 | // |
| 4 | // SPDX-License-Identifier: Apache-2.0 |
| 5 | // |
| 6 | |
| 7 | #include "gemm-wrappers.hpp" |
| 8 | |
| 9 | #include "kai_ops_kernels.hpp" |
| 10 | #include "gemm_transpose.hpp" |
| 11 | |
| 12 | #ifdef __aarch64__ |
| 13 | template void benchmark<hgemm_new, false, QuantizationType::NONE, false>(GemmProblem *, int, int, int, mapfn, const char *); |
| 14 | template void test<gemm_transposeB<__fp16, __fp16>, hgemm_new, false>(GemmProblem *, int, int, const char *, FILE *); |
| 15 | template void print_kernels<hgemm_new, false>(GemmProblem *, unsigned int); |
| 16 | |
| 17 | template void benchmark<gemm_fp16fp32, false, QuantizationType::NONE, false>(GemmProblem *, int, int, int, mapfn, const char *); |
| 18 | template void test<gemm_transposeB<__fp16, float>, gemm_fp16fp32, false>(GemmProblem *, int, int, const char *, FILE *); |
| 19 | template void print_kernels<gemm_fp16fp32, false>(GemmProblem *, unsigned int); |
| 20 | |
| 21 | template void benchmark<winograd_fp16, false, QuantizationType::NONE, false>(GemmProblem *, int, int, int, mapfn, const char *); |
| 22 | template void test<gemm_transposeB<__fp16, __fp16>, winograd_fp16, false>(GemmProblem *, int, int, const char *, FILE *); |
| 23 | template void print_kernels<winograd_fp16, false>(GemmProblem *, unsigned int); |
| 24 | |
| 25 | template void benchmark<depthwise_fp16, false, QuantizationType::NONE, false>(GemmProblem *, int, int, int, mapfn, const char *); |
| 26 | template void test<gemm_transposeB<__fp16, __fp16>, depthwise_fp16, false>(GemmProblem *, int, int, const char *, FILE *); |
| 27 | template void print_kernels<depthwise_fp16, false>(GemmProblem *, unsigned int); |
| 28 | #endif // AArch64 |