diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/CL/CLKernelLibrary.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/CL/CLKernelLibrary.cpp b/src/core/CL/CLKernelLibrary.cpp index 4760a1739e..a7b39c20e2 100644 --- a/src/core/CL/CLKernelLibrary.cpp +++ b/src/core/CL/CLKernelLibrary.cpp @@ -699,6 +699,7 @@ const std::map<std::string, std::string> CLKernelLibrary::_program_source_map = CLKernelLibrary::CLKernelLibrary() : _context(), _device(), _kernel_path("."), _programs_map(), _built_programs_map() { + opencl_is_available(); // Make sure the OpenCL symbols are initialised *before* the CLKernelLibrary is built } CLKernelLibrary &CLKernelLibrary::get() |