diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/core/CL/ICLKernel.cpp | 2 | ||||
-rw-r--r-- | src/runtime/CL/CLTuner.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/core/CL/ICLKernel.cpp b/src/core/CL/ICLKernel.cpp index 9663fd200f..1e04f00343 100644 --- a/src/core/CL/ICLKernel.cpp +++ b/src/core/CL/ICLKernel.cpp @@ -63,7 +63,7 @@ void arm_compute::enqueue(cl::CommandQueue &queue, ICLKernel &kernel, const Wind } ICLKernel::ICLKernel() - : _kernel(nullptr), _lws_hint(CLKernelLibrary::get().default_ndrange()), _target(GPUTarget::MIDGARD), _config_id("") + : _kernel(nullptr), _lws_hint(CLKernelLibrary::get().default_ndrange()), _target(GPUTarget::MIDGARD), _config_id(arm_compute::default_config_id) { } diff --git a/src/runtime/CL/CLTuner.cpp b/src/runtime/CL/CLTuner.cpp index f3300d3f83..7f5be86833 100644 --- a/src/runtime/CL/CLTuner.cpp +++ b/src/runtime/CL/CLTuner.cpp @@ -42,8 +42,8 @@ void CLTuner::tune_kernel(ICLKernel &kernel) // Get the configuration ID from the kernel const std::string &config_id = kernel.config_id(); - // Check if we need to find the Optimal LWS. If config_id is empty, the kernel does not require to be tuned - if(config_id != "") + // Check if we need to find the Optimal LWS. If config_id is equal to default_config_id, the kernel does not require to be tuned + if(config_id != arm_compute::default_config_id) { auto p = _lws_table.find(config_id); |