diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2018-08-14 12:52:53 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:54:54 +0000 |
commit | 72ccc440b5312160ede96f9c27c747965a5b08bf (patch) | |
tree | 7731c966205d24deb883206eb96cf0d34c6805f5 /src/runtime/CL | |
parent | 766b70ce570b8f837e530213dcac752dde0182b3 (diff) | |
download | ComputeLibrary-72ccc440b5312160ede96f9c27c747965a5b08bf.tar.gz |
COMPMID-1504: (Nightly) Segfaults on CL and android
Keeps a copy of context in Scheduler to avoid releasing KernelLibrary
resources before Scheduler resourses leading to a segfault.
Does not exactly revert COMPMID-1122 as it still tries to keep context
in sync.
Change-Id: I3deb6bc1725b80f65f51ebd34d536f612ef6dd86
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/144024
Reviewed-by: Michele DiGiorgio <michele.digiorgio@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/runtime/CL')
-rw-r--r-- | src/runtime/CL/CLScheduler.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/CL/CLScheduler.cpp b/src/runtime/CL/CLScheduler.cpp index a812bad865..a311c6fb41 100644 --- a/src/runtime/CL/CLScheduler.cpp +++ b/src/runtime/CL/CLScheduler.cpp @@ -42,7 +42,7 @@ void printf_callback(const char *buffer, unsigned int len, size_t complete, void std::once_flag CLScheduler::_initialize_symbols; CLScheduler::CLScheduler() - : _queue(), _target(GPUTarget::MIDGARD), _is_initialised(false), _cl_tuner(nullptr), _cl_default_static_tuner(nullptr) + : _context(), _queue(), _target(GPUTarget::MIDGARD), _is_initialised(false), _cl_tuner(nullptr), _cl_default_static_tuner(nullptr) { } |