From 63485cea64df16d76f37fb74be85e77497471fac Mon Sep 17 00:00:00 2001 From: Giorgio Arena Date: Wed, 15 Nov 2017 16:04:20 +0000 Subject: COMPMID-685 Extend CLTuner support to other DL functions Change-Id: Ica97857c2145228e4a6088724681ec1c0a138133 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/95918 Reviewed-by: Anthony Barbier Reviewed-by: Gian Marco Iodice Tested-by: Kaizen --- src/core/CL/kernels/CLSoftmaxLayerKernel.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/core/CL/kernels/CLSoftmaxLayerKernel.cpp') diff --git a/src/core/CL/kernels/CLSoftmaxLayerKernel.cpp b/src/core/CL/kernels/CLSoftmaxLayerKernel.cpp index 5331f40838..3eae9e5749 100644 --- a/src/core/CL/kernels/CLSoftmaxLayerKernel.cpp +++ b/src/core/CL/kernels/CLSoftmaxLayerKernel.cpp @@ -136,6 +136,14 @@ void CLLogits1DMaxKernel::configure(const ICLTensor *input, ICLTensor *output) output_access.set_valid_region(win, ValidRegion(Coordinates(), output->info()->tensor_shape())); ICLKernel::configure(win); + + // Set config_id for enabling LWS tuning + _config_id = "softmax_layer_"; + _config_id += lower_string(string_from_data_type(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)); } CLLogits1DShiftExpSumKernel::CLLogits1DShiftExpSumKernel() -- cgit v1.2.1