diff options
author | Anitha Raj <anitha.raj@arm.com> | 2023-11-21 11:19:50 +0000 |
---|---|---|
committer | Anitha Raj <anitha.raj@arm.com> | 2023-11-21 11:21:40 +0000 |
commit | 69766d60896e429f27ac094010ae1f30ebbdc630 (patch) | |
tree | 9768f0366ac3f87832f8102c5d72974547de2edb /src/runtime/CL/CLMemoryRegion.cpp | |
parent | 26c68a0e5f555e316cab18352fa3b62f22af8bfb (diff) | |
download | ComputeLibrary-69766d60896e429f27ac094010ae1f30ebbdc630.tar.gz |
Revert "Fix various coverity issues"v23.11branches/arm_compute_23_11
This reverts commit 26c68a0e5f555e316cab18352fa3b62f22af8bfb.
Signed-off-by: Anitha Raj <anitha.raj@arm.com>
Change-Id: I3a71762d1fa8b0a97ebf21fa1c1e4da94d39e887
Diffstat (limited to 'src/runtime/CL/CLMemoryRegion.cpp')
-rw-r--r-- | src/runtime/CL/CLMemoryRegion.cpp | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/src/runtime/CL/CLMemoryRegion.cpp b/src/runtime/CL/CLMemoryRegion.cpp index c9ddf9b85c..835958b816 100644 --- a/src/runtime/CL/CLMemoryRegion.cpp +++ b/src/runtime/CL/CLMemoryRegion.cpp @@ -26,8 +26,6 @@ #include "arm_compute/core/Error.h" #include "arm_compute/runtime/CL/CLScheduler.h" -#include "src/common/utils/Log.h" - namespace arm_compute { ICLMemoryRegion::ICLMemoryRegion(size_t size) @@ -74,14 +72,7 @@ CLBufferMemoryRegion::~CLBufferMemoryRegion() // Flush the command queue to ensure all commands that may use this memory buffer are scheduled to be finished before // this buffer is freed // Do not call finish as it is a blocking call which affects the performance - try - { - CLScheduler::get().queue().flush(); - } - catch (const std::exception &e) - { - ARM_COMPUTE_LOG_ERROR_ACL(e.what()); - } + CLScheduler::get().queue().flush(); } void *CLBufferMemoryRegion::ptr() |