diff options
author | Giorgio Arena <giorgio.arena@arm.com> | 2018-06-28 17:18:50 +0100 |
---|---|---|
committer | Anthony Barbier <anthony.barbier@arm.com> | 2018-11-02 16:53:57 +0000 |
commit | 00b93f52f328d3cf77a50a1ae7a46213f5b1f4c2 (patch) | |
tree | d85692b720b2d3a02443f6127338fcf340b8a1c1 /src/core/CL/kernels/CLPoolingLayerKernel.cpp | |
parent | d051e97e36b9981f411093904cc019c2c7f9ac75 (diff) | |
download | ComputeLibrary-00b93f52f328d3cf77a50a1ae7a46213f5b1f4c2.tar.gz |
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 <bsgcomp@arm.com>
Reviewed-by: Michele DiGiorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'src/core/CL/kernels/CLPoolingLayerKernel.cpp')
-rw-r--r-- | src/core/CL/kernels/CLPoolingLayerKernel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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) |