From 77497d7c2225599db2b8bf7732516c092c0d734a Mon Sep 17 00:00:00 2001 From: Gian Marco Iodice Date: Wed, 27 Sep 2017 09:17:00 +0100 Subject: COMPMID-417 - Fix for the config_id default string The empty string used by default for config_id caused a memory corruption on Android. Change-Id: Ib9c764c8a8f7009936071f8c8fec1653bb000f90 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/89262 Tested-by: Kaizen Reviewed-by: Georgios Pinitas Reviewed-by: Anthony Barbier --- arm_compute/core/CL/CLTypes.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'arm_compute') diff --git a/arm_compute/core/CL/CLTypes.h b/arm_compute/core/CL/CLTypes.h index cf11f6ecd7..05f9e2e119 100644 --- a/arm_compute/core/CL/CLTypes.h +++ b/arm_compute/core/CL/CLTypes.h @@ -24,8 +24,13 @@ #ifndef __ARM_COMPUTE_CL_TYPES_H__ #define __ARM_COMPUTE_CL_TYPES_H__ +#include + namespace arm_compute { +/** Default string for the CLKernel configuration id */ +static const std::string default_config_id = "no_config_id"; + /** Available GPU Targets */ enum class GPUTarget { -- cgit v1.2.1