| 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 | // To date, only AArch64 has these 8-bit kernels. |
| 8 | #ifdef __aarch64__ |
| 9 | |
| 10 | #include "gemm-wrappers.hpp" |
| 11 | |
| 12 | #include "kai_ops_kernels.hpp" |
| 13 | #include "gemm_transpose.hpp" |
| 14 | |
| 15 | // gemm_u8s8_quant - u8 activations with s8 weights |
| 16 | template void benchmark<gemm_u8s8_quant, false, QuantizationType::INTEGER, false>(GemmProblem *, int, int, int, mapfn, const char *); |
| 17 | template void test_quantized<sgemm_new, gemm_u8s8_quant>(GemmProblem *, int, int, const char *, FILE *); |
| 18 | template void print_kernels<gemm_u8s8_quant, false>(GemmProblem *, unsigned int); |
| 19 | |
| 20 | // gemm_u8s8fp32 - dequantize result to FP32 |
| 21 | template void benchmark<gemm_u8s8fp32, false, QuantizationType::FLOAT, false>(GemmProblem *, int, int, int, mapfn, const char *); |
| 22 | template void test_dequantized<sgemm_new, gemm_u8s8fp32>(GemmProblem *, int, int, const char *, FILE *); |
| 23 | template void print_kernels<gemm_u8s8fp32, false>(GemmProblem *, unsigned int); |
| 24 | |
| 25 | #endif // aarch64 |