From e87fa660e188007391f0584a56c8970665780684 Mon Sep 17 00:00:00 2001 From: Gunes Bayir Date: Thu, 7 Sep 2023 12:20:33 +0100 Subject: Add skeleton of ClMatMulLowpNativeMMULKernel The skeleton code consists of modifications - to build the library with the quantized matmul kernel - refactoring of some common utilities - empty OpenCL Kernels for four configurations ([Lhs, Rhs] X [Nt, t]) - some validation tests and skeleton for functional tests Resolves: COMPMID-6473 Change-Id: Id8401f789d34277dceb1f91afd68c9c88275618a Signed-off-by: Gunes Bayir Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/10273 Tested-by: Arm Jenkins Reviewed-by: Viet-Hoa Do Benchmark: Arm Jenkins Comments-Addressed: Arm Jenkins --- Android.bp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Android.bp') diff --git a/Android.bp b/Android.bp index 547f11d0d2..da69d4fe87 100644 --- a/Android.bp +++ b/Android.bp @@ -47,6 +47,7 @@ opencl_srcs = [ "src/core/CL/cl_kernels/common/mat_mul.cl", "src/core/CL/cl_kernels/common/mat_mul_mmul.cl", "src/core/CL/cl_kernels/common/mat_mul_quantized.cl", + "src/core/CL/cl_kernels/common/mat_mul_quantized_mmul.cl", "src/core/CL/cl_kernels/common/mean_stddev_normalization.cl", "src/core/CL/cl_kernels/common/memset.cl", "src/core/CL/cl_kernels/common/minmax_layer.cl", @@ -721,6 +722,7 @@ cc_library_static { "src/gpu/cl/kernels/ClIndirectConv2dAddressPrecalculationKernel.cpp", "src/gpu/cl/kernels/ClIndirectConv2dKernel.cpp", "src/gpu/cl/kernels/ClMatMulLowpNativeKernel.cpp", + "src/gpu/cl/kernels/ClMatMulLowpNativeMMULKernel.cpp", "src/gpu/cl/kernels/ClMatMulNativeKernel.cpp", "src/gpu/cl/kernels/ClMatMulNativeMMULKernel.cpp", "src/gpu/cl/kernels/ClMulKernel.cpp", @@ -748,6 +750,7 @@ cc_library_static { "src/gpu/cl/kernels/gemm/reshaped/ClGemmDefaultConfigReshapedValhall.cpp", "src/gpu/cl/kernels/gemm/reshaped_only_rhs/ClGemmDefaultConfigReshapedRhsOnlyBifrost.cpp", "src/gpu/cl/kernels/gemm/reshaped_only_rhs/ClGemmDefaultConfigReshapedRhsOnlyValhall.cpp", + "src/gpu/cl/kernels/helpers/MatMulKernelHelpers.cpp", "src/gpu/cl/operators/ClActivation.cpp", "src/gpu/cl/operators/ClAdd.cpp", "src/gpu/cl/operators/ClCast.cpp", -- cgit v1.2.1