aboutsummaryrefslogtreecommitdiff
path: root/src/gpu/cl/kernels/ClMatMulLowpNativeMMULKernel.cpp
diff options
context:
space:
mode:
authorGunes Bayir <gunes.bayir@arm.com>2023-09-19 15:37:38 +0100
committerGunes Bayir <gunes.bayir@arm.com>2023-09-28 15:56:52 +0000
commit2ad0a6be5b9d14fa30e92f548fa6a97fd9061aa1 (patch)
treeefcd9c6fd880089c030122599da21b3e5197c2f2 /src/gpu/cl/kernels/ClMatMulLowpNativeMMULKernel.cpp
parentfde314cd3a72fcf4c3115d96fb862e4235458907 (diff)
downloadComputeLibrary-2ad0a6be5b9d14fa30e92f548fa6a97fd9061aa1.tar.gz
Implement Quantized Matmul Nt/T kernel using MMUL extension
Resolves: COMPMID-6474 Change-Id: Iaff5b512cf77975f2df02dcdf848711b13bf97a6 Signed-off-by: Gunes Bayir <gunes.bayir@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/10341 Reviewed-by: Mohmun02 <MohammedSuhail.Munshi@arm.com> Reviewed-by: Viet-Hoa Do <viet-hoa.do@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Benchmark: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/gpu/cl/kernels/ClMatMulLowpNativeMMULKernel.cpp')
-rw-r--r--src/gpu/cl/kernels/ClMatMulLowpNativeMMULKernel.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpu/cl/kernels/ClMatMulLowpNativeMMULKernel.cpp b/src/gpu/cl/kernels/ClMatMulLowpNativeMMULKernel.cpp
index 94e3c4e47b..1df0ca0410 100644
--- a/src/gpu/cl/kernels/ClMatMulLowpNativeMMULKernel.cpp
+++ b/src/gpu/cl/kernels/ClMatMulLowpNativeMMULKernel.cpp
@@ -77,6 +77,9 @@ Status validate_matmul_kernel_info(const MatMulKernelInfo &matmul_kernel_info)
// Validate K0
ARM_COMPUTE_RETURN_ERROR_ON_MSG((k0 != 4), "Only 4 is supported for k0");
+ // Validate ExportToCLImage
+ ARM_COMPUTE_RETURN_ERROR_ON_MSG(matmul_kernel_info.export_rhs_to_cl_image, "Export to CLImage is not supported!");
+
return Status{};
}
} // namespace