From 245ba05af0a5bc1756c5679aa0136eadac925402 Mon Sep 17 00:00:00 2001 From: Sheri Zhang Date: Tue, 22 Sep 2020 09:50:41 +0100 Subject: COMPMID-3783: Segfaulting in Reduction layer with NEON on Mate20 with HFNet Signed-off-by: Sheri Zhang Change-Id: Iaf7ba1092aeda78b0f2bff3134f4699afc783385 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4013 Reviewed-by: Georgios Pinitas Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- src/runtime/NEON/functions/NEReductionOperation.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/NEON/functions/NEReductionOperation.cpp b/src/runtime/NEON/functions/NEReductionOperation.cpp index 853d0ed0ad..fc2e6d2912 100644 --- a/src/runtime/NEON/functions/NEReductionOperation.cpp +++ b/src/runtime/NEON/functions/NEReductionOperation.cpp @@ -178,6 +178,7 @@ void NEReductionOperation::configure(ITensor *input, ITensor *output, unsigned i void NEReductionOperation::run() { + MemoryGroupResourceScope scope_mg(_memory_group); if(_reduction_axis == 0) { NEScheduler::get().schedule(&_fill_border_kernel, Window::DimY); -- cgit v1.2.1