aboutsummaryrefslogtreecommitdiff
path: root/arm_compute
diff options
context:
space:
mode:
authorGian Marco Iodice <gianmarco.iodice@arm.com>2017-09-27 09:17:00 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commit77497d7c2225599db2b8bf7732516c092c0d734a (patch)
tree4a0d3fec3020d30a0a8a0f6c79c3ff3e7bd64884 /arm_compute
parent31bbce1249138633ecd34d351e2ea237ff6d55c8 (diff)
downloadComputeLibrary-77497d7c2225599db2b8bf7732516c092c0d734a.tar.gz
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 <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute')
-rw-r--r--arm_compute/core/CL/CLTypes.h5
1 files changed, 5 insertions, 0 deletions
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 <string>
+
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
{