From 00b93f52f328d3cf77a50a1ae7a46213f5b1f4c2 Mon Sep 17 00:00:00 2001 From: Giorgio Arena Date: Thu, 28 Jun 2018 17:18:50 +0100 Subject: COMPMID-1325 Add data layout suffix to the config_id on OpenCL kernels Change-Id: I78d7b4a53fe6525cc19fd49c5d555a4334e6de3b Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/137903 Tested-by: Jenkins Reviewed-by: Michele DiGiorgio --- src/core/CL/kernels/CLPoolingLayerKernel.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/core/CL/kernels/CLPoolingLayerKernel.cpp') diff --git a/src/core/CL/kernels/CLPoolingLayerKernel.cpp b/src/core/CL/kernels/CLPoolingLayerKernel.cpp index b242c5550c..81c52ed53b 100644 --- a/src/core/CL/kernels/CLPoolingLayerKernel.cpp +++ b/src/core/CL/kernels/CLPoolingLayerKernel.cpp @@ -295,6 +295,8 @@ void CLPoolingLayerKernel::configure(const ICLTensor *input, ICLTensor *output, _config_id += support::cpp11::to_string(output->info()->dimension(idx_height)); _config_id += "_"; _config_id += support::cpp11::to_string(output->info()->dimension(idx_channel)); + _config_id += "_"; + _config_id += lower_string(string_from_data_layout(input->info()->data_layout())); } Status CLPoolingLayerKernel::validate(const ITensorInfo *input, const ITensorInfo *output, const PoolingLayerInfo &pool_info) -- cgit v1.2.1