aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/cpu/operators/CpuGemm.cpp
diff options
context:
space:
mode:
authorMichele Di Giorgio <michele.digiorgio@arm.com>2021-07-02 15:17:08 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2021-07-23 18:50:22 +0000
commitd9cdf1402fb7e1231f56c1d5549639b423e4e323 (patch)
tree8fe0438c9006bd0efddf591c92c162b12a1a48b7 /src/runtime/cpu/operators/CpuGemm.cpp
parenta8297fb7433e1acfb7bb37703ab93b7ec4c39335 (diff)
downloadComputeLibrary-d9cdf1402fb7e1231f56c1d5549639b423e4e323.tar.gz
Port NEFullyConnectedLayer to memory injecting interface
Resolves: COMPMID-4501 Change-Id: Ib61b3d06974009e501b3fb86467735427e13a94a Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5931 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'src/runtime/cpu/operators/CpuGemm.cpp')
-rw-r--r--src/runtime/cpu/operators/CpuGemm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/cpu/operators/CpuGemm.cpp b/src/runtime/cpu/operators/CpuGemm.cpp
index c6abe1f893..bd3f231001 100644
--- a/src/runtime/cpu/operators/CpuGemm.cpp
+++ b/src/runtime/cpu/operators/CpuGemm.cpp
@@ -128,7 +128,7 @@ void CpuGemm::configure(const ITensorInfo *a, const ITensorInfo *b, const ITenso
{
_add_bias = std::make_unique<cpu::CpuAdd>();
_add_bias->configure(gemm_output_to_use, c, d, ConvertPolicy::SATURATE);
- _aux_mem[TempResult] = MemoryInfo(offset_int_vec(TempResult), MemoryLifetime::Persistent, _tmp_d.total_size());
+ _aux_mem[TempResult] = MemoryInfo(offset_int_vec(TempResult), MemoryLifetime::Temporary, _tmp_d.total_size());
}
}