From ae4ce7b411d0f4809ac7d3d90fe89bdb2520dbf6 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Mon, 19 Mar 2018 17:50:45 +0000 Subject: COMPMID-959: Manage memory on pure GEMM Change-Id: I30e605db5e54266c6af70ac9fe602437966d9c73 Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/125107 Tested-by: Jenkins Reviewed-by: Gian Marco Iodice --- src/runtime/CL/functions/CLGEMM.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/runtime/CL/functions/CLGEMM.cpp') diff --git a/src/runtime/CL/functions/CLGEMM.cpp b/src/runtime/CL/functions/CLGEMM.cpp index c1926a78d1..a06d94c1f5 100644 --- a/src/runtime/CL/functions/CLGEMM.cpp +++ b/src/runtime/CL/functions/CLGEMM.cpp @@ -138,7 +138,7 @@ void CLGEMM::configure(const ICLTensor *a, const ICLTensor *b, const ICLTensor * // Manage intermediate buffers _memory_group.manage(&_tmp_a); - if(_reshape_b_only_on_first_run) + if(!_reshape_b_only_on_first_run) { _memory_group.manage(&_tmp_b); } -- cgit v1.2.1