diff options
author | Sheri Zhang <sheri.zhang@arm.com> | 2020-09-22 09:50:41 +0100 |
---|---|---|
committer | Sheri Zhang <sheri.zhang@arm.com> | 2020-09-22 10:28:24 +0000 |
commit | 245ba05af0a5bc1756c5679aa0136eadac925402 (patch) | |
tree | 6241253a2b5847b378878c368519b4003733169f /src/runtime/NEON/functions | |
parent | 9e698d55d861b3a2a2deb9486a75dd541e928705 (diff) | |
download | ComputeLibrary-245ba05af0a5bc1756c5679aa0136eadac925402.tar.gz |
COMPMID-3783: Segfaulting in Reduction layer with NEON on Mate20 with HFNet
Signed-off-by: Sheri Zhang <sheri.zhang@arm.com>
Change-Id: Iaf7ba1092aeda78b0f2bff3134f4699afc783385
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4013
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/NEON/functions')
-rw-r--r-- | src/runtime/NEON/functions/NEReductionOperation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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); |