diff options
author | Michalis Spyrou <michalis.spyrou@arm.com> | 2018-01-15 11:15:26 +0000 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:43:13 +0000 |
commit | 84f3ae89369ab896576ea17112956b42bc60d203 (patch) | |
tree | d62115563b18cb1c634910e5c836ed2fecedbd36 /src | |
parent | 86fb1e74dc4c696dbab0efc45e9449129182e040 (diff) | |
download | ComputeLibrary-84f3ae89369ab896576ea17112956b42bc60d203.tar.gz |
COMPMID-830 Fix hang in arm_compute_benchmark NEON
Problem seems to happen when calling clfinish inside the CLScheduler
destructor. Removed destructor and now calling sync() in benchmarks
main.cpp.
Change-Id: Ibb36a0d19aa03349d291407a1fb8266dce3ec75b
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/116288
Reviewed-by: Pablo Tello <pablo.tello@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/runtime/CL/CLScheduler.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/runtime/CL/CLScheduler.cpp b/src/runtime/CL/CLScheduler.cpp index c947b7acc4..65292fe837 100644 --- a/src/runtime/CL/CLScheduler.cpp +++ b/src/runtime/CL/CLScheduler.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016, 2018 ARM Limited. + * Copyright (c) 2016-2018 ARM Limited. * * SPDX-License-Identifier: MIT * @@ -35,11 +35,6 @@ CLScheduler::CLScheduler() { } -CLScheduler::~CLScheduler() -{ - _queue.finish(); -} - CLScheduler &CLScheduler::get() { std::call_once(_initialize_symbols, opencl_is_available); |