diff options
Diffstat (limited to 'src/runtime/NEON/functions/NEFastCorners.cpp')
-rw-r--r-- | src/runtime/NEON/functions/NEFastCorners.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/runtime/NEON/functions/NEFastCorners.cpp b/src/runtime/NEON/functions/NEFastCorners.cpp index 4137b1d131..af3530151c 100644 --- a/src/runtime/NEON/functions/NEFastCorners.cpp +++ b/src/runtime/NEON/functions/NEFastCorners.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2017 ARM Limited. + * Copyright (c) 2016-2019 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -93,7 +93,7 @@ void NEFastCorners::run() { NEScheduler::get().schedule(&_border_handler, Window::DimZ); - _memory_group.acquire(); + MemoryGroupResourceScope scope_mg(_memory_group); NEScheduler::get().schedule(&_fast_corners_kernel, Window::DimY); @@ -103,6 +103,4 @@ void NEFastCorners::run() } NEScheduler::get().schedule(&_fill_kernel, Window::DimY); - - _memory_group.release(); } |