aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/cpu/operators/CpuGemmLowpMatrixMultiplyCore.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2021-07-23 18:58:43 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2021-07-23 19:41:33 +0000
commit22f5ed51f1b01f7cf6993a556a0b763e437926fc (patch)
tree7bfe8db3bbc55b9435ce55f57f6eef9d146cd5ee /src/runtime/cpu/operators/CpuGemmLowpMatrixMultiplyCore.cpp
parent8bd25568aac3f6e6ef5e878666daf7b5cc174510 (diff)
downloadComputeLibrary-22f5ed51f1b01f7cf6993a556a0b763e437926fc.tar.gz
Avoid allocation of auxiliary memory in CpuGemmConvolution
Resolves: COMPMID-4690 Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Change-Id: I2d44fd59fc66e2d3e80acffd1a130f6d3fab5c57 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5990 Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/cpu/operators/CpuGemmLowpMatrixMultiplyCore.cpp')
-rw-r--r--src/runtime/cpu/operators/CpuGemmLowpMatrixMultiplyCore.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/runtime/cpu/operators/CpuGemmLowpMatrixMultiplyCore.cpp b/src/runtime/cpu/operators/CpuGemmLowpMatrixMultiplyCore.cpp
index 56eb4fbb87..8adf7047fd 100644
--- a/src/runtime/cpu/operators/CpuGemmLowpMatrixMultiplyCore.cpp
+++ b/src/runtime/cpu/operators/CpuGemmLowpMatrixMultiplyCore.cpp
@@ -502,6 +502,7 @@ Status CpuGemmLowpMatrixMultiplyCore::validate(const ITensorInfo *a, const ITens
void CpuGemmLowpMatrixMultiplyCore::run(ITensorPack &tensors)
{
prepare(tensors);
+
auto a = tensors.get_const_tensor(TensorType::ACL_SRC_0);
auto b = tensors.get_const_tensor(TensorType::ACL_SRC_1);
auto c = tensors.get_const_tensor(TensorType::ACL_SRC_2);