diff options
author | Gary Antcliffe <gary.antcliffe@arm.com> | 2019-05-28 11:40:21 +0100 |
---|---|---|
committer | Gary Antcliffe <gary.antcliffe@arm.com> | 2019-06-27 14:09:00 +0000 |
commit | fffbdbcc52ae2f30b9c51637d82e5e1f5d604e71 (patch) | |
tree | ac2c43d7b69d61aed29a6ee3151806797e87f739 /src/core/CL/kernels/CLDepthConvertLayerKernel.cpp | |
parent | d8a468f90030edf7be512c00fce7230065456f61 (diff) | |
download | ComputeLibrary-fffbdbcc52ae2f30b9c51637d82e5e1f5d604e71.tar.gz |
COMPUTE-10611: CL: Set config_id to enabling LWS tuning
Change-Id: Ie457ab751e1527841c3e2881a25eac889435a26e
Signed-off-by: Gary Antcliffe <gary.antcliffe@arm.com>
Reviewed-on: https://review.mlplatform.org/c/1408
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/CL/kernels/CLDepthConvertLayerKernel.cpp')
-rw-r--r-- | src/core/CL/kernels/CLDepthConvertLayerKernel.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/core/CL/kernels/CLDepthConvertLayerKernel.cpp b/src/core/CL/kernels/CLDepthConvertLayerKernel.cpp index e188ee92a8..14e5c98c0c 100644 --- a/src/core/CL/kernels/CLDepthConvertLayerKernel.cpp +++ b/src/core/CL/kernels/CLDepthConvertLayerKernel.cpp @@ -110,6 +110,19 @@ void CLDepthConvertLayerKernel::configure(const ICLTensor *input, ICLTensor *out const Window &full_window = window(); Window collapsed_window = full_window.collapse_if_possible(full_window, Window::DimZ); ICLKernel::configure_internal(collapsed_window); + + // Set config_id for enabling LWS tuning + _config_id = kernel_name; + _config_id += "_"; + _config_id += lower_string(string_from_data_type(input->info()->data_type())); + _config_id += "_"; + _config_id += support::cpp11::to_string(input->info()->dimension(0)); + _config_id += "_"; + _config_id += support::cpp11::to_string(input->info()->dimension(1)); + _config_id += "_"; + _config_id += support::cpp11::to_string(output->info()->dimension(0)); + _config_id += "_"; + _config_id += support::cpp11::to_string(output->info()->dimension(1)); } Status CLDepthConvertLayerKernel::validate(const ITensorInfo *input, const ITensorInfo *output, ConvertPolicy policy, uint32_t shift) |