aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/CL/CLCompileContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/CL/CLCompileContext.cpp b/src/core/CL/CLCompileContext.cpp
index 48cc64c387..32a407d11d 100644
--- a/src/core/CL/CLCompileContext.cpp
+++ b/src/core/CL/CLCompileContext.cpp
@@ -169,7 +169,7 @@ Kernel CLCompileContext::create_kernel(const std::string &kernel_name, const std
cl_program = program.build(build_options);
// Add built program to internal map
- _built_programs_map.emplace(program_name, cl_program);
+ _built_programs_map.emplace(built_program_name, cl_program);
}
// Create and return kernel