From 16aa4743fe03ec7f9bbca22951fb73d832804e65 Mon Sep 17 00:00:00 2001 From: Michalis Spyrou Date: Wed, 29 Jun 2022 15:13:45 +0100 Subject: Wrong arguments for running activation function in CpuGemmDirectConv2d Resolves: COMPMID-5350 Change-Id: I2f5021ebe9fe4c71371f2cd6cb65cc9c0b2110b5 Signed-off-by: Michalis Spyrou Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7861 Reviewed-by: Francesco Petrogalli Reviewed-by: Gunes Bayir Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins Benchmark: Arm Jenkins --- src/cpu/operators/CpuGemmDirectConv2d.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/cpu/operators/CpuGemmDirectConv2d.cpp b/src/cpu/operators/CpuGemmDirectConv2d.cpp index 75c057e455..fd1a042bb4 100644 --- a/src/cpu/operators/CpuGemmDirectConv2d.cpp +++ b/src/cpu/operators/CpuGemmDirectConv2d.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Arm Limited. + * Copyright (c) 2021-2022 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -193,7 +193,9 @@ void CpuGemmDirectConv2d::run(ITensorPack &tensors) _gemm_asm_func->run(tensors); if(_run_activation) { - _activation_func->run(tensors); + ITensor *io = tensors.get_tensor(ACL_DST); + ITensorPack pack{ { ACL_SRC, io }, { ACL_DST, io } }; + _activation_func->run(pack); } } -- cgit v1.2.1