aboutsummaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorGunes Bayir <gunes.bayir@arm.com>2023-04-13 18:22:58 +0100
committerGunes Bayir <gunes.bayir@arm.com>2023-04-17 15:54:44 +0000
commit9d0c4deb760efc2ca07e5e0b8218995201ad8a1f (patch)
tree8f64b754d05768e2f69cfae387137140a6bb22b5 /Android.bp
parent99145f787e9e99b45522f16d861c8527583f2b4e (diff)
downloadComputeLibrary-9d0c4deb760efc2ca07e5e0b8218995201ad8a1f.tar.gz
Add quantized CL MatMul kernels for Lhs NT/T, Rhs NT
Implement OpenCL kernels for batched Matrix Multiplication for the quantized data types QASYMM8 and QASYMM8_SIGNED. Quantized MatMul is supported with the following MatMul attributes: * adj_x = false, adj_y = false * adj_x = true, adj_y = false We consider native format kernels only. In other words, no reshaping of the operand matrices is done. Resolves: COMPMID-5921, COMPMID-5922 Change-Id: I99e0f68054a2bd635c60ec2641acc2e7ff398473 Signed-off-by: Omar Al Khatib <omar.alkhatib@arm.com> Signed-off-by: Gunes Bayir <gunes.bayir@arm.com> Signed-off-by: Jakub Sujak <jakub.sujak@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/9435 Reviewed-by: SiCong Li <sicong.li@arm.com> Reviewed-by: Viet-Hoa Do <viet-hoa.do@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Benchmark: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 4bd307447b..32651b539c 100644
--- a/Android.bp
+++ b/Android.bp
@@ -51,6 +51,7 @@ opencl_srcs = [
"src/core/CL/cl_kernels/common/instance_normalization.cl",
"src/core/CL/cl_kernels/common/l2_normalize.cl",
"src/core/CL/cl_kernels/common/mat_mul.cl",
+ "src/core/CL/cl_kernels/common/mat_mul_quantized.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",
@@ -695,6 +696,7 @@ cc_library_static {
"src/gpu/cl/kernels/ClIm2ColKernel.cpp",
"src/gpu/cl/kernels/ClIndirectConv2dAddressPrecalculationKernel.cpp",
"src/gpu/cl/kernels/ClIndirectConv2dKernel.cpp",
+ "src/gpu/cl/kernels/ClMatMulLowpNativeKernel.cpp",
"src/gpu/cl/kernels/ClMatMulNativeKernel.cpp",
"src/gpu/cl/kernels/ClMulKernel.cpp",
"src/gpu/cl/kernels/ClPermuteKernel.cpp",