aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/runtime/CL/CLScheduler.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/runtime/CL/CLScheduler.h')
-rw-r--r--arm_compute/runtime/CL/CLScheduler.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/arm_compute/runtime/CL/CLScheduler.h b/arm_compute/runtime/CL/CLScheduler.h
index 1a7befc046..f700bbb679 100644
--- a/arm_compute/runtime/CL/CLScheduler.h
+++ b/arm_compute/runtime/CL/CLScheduler.h
@@ -199,6 +199,9 @@ private:
*/
cl::NDRange tune_kernel(ICLKernel &kernel);
+ /** Flag to ensure symbols initialisation is happening before Scheduler creation */
+ static std::once_flag _initialize_symbols;
+
cl::Context _context;
cl::CommandQueue _queue;
GPUTarget _target;