COMPMID-3069: Fix CLCompileContext

The wrong name was stored in the program cache resulting
in performance regression on some tests and graph examples.

Change-Id: I5161bba4c512fe75eb4579548360ee18f87d9bd6
Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3015
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
diff --git a/src/core/CL/CLCompileContext.cpp b/src/core/CL/CLCompileContext.cpp
index 48cc64c..32a407d 100644
--- a/src/core/CL/CLCompileContext.cpp
+++ b/src/core/CL/CLCompileContext.cpp
@@ -169,7 +169,7 @@
         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