aboutsummaryrefslogtreecommitdiff
path: root/src/core/CL/ICLKernel.h
diff options
context:
space:
mode:
authorGiorgio Arena <giorgio.arena@arm.com>2021-07-28 16:10:03 +0100
committerSheri Zhang <sheri.zhang@arm.com>2021-08-02 10:34:37 +0000
commitba2dd8237dc89b5226b7cc3eef30822ec9ca5805 (patch)
tree758c3a9c344da9120e7e2effd3617a82ad4027eb /src/core/CL/ICLKernel.h
parent06d1efd05a55f40867d68f9583053a40b9a0b55c (diff)
downloadComputeLibrary-ba2dd8237dc89b5226b7cc3eef30822ec9ca5805.tar.gz
Benchmark and set default LWS for GEMM, Direct convolution and Winograd
Resolve COMPMID-4487, COMPMID-4488, COMPMID-4489 Change-Id: Id5a1178a5a452a969b41eea48cb36727e4dbe27b Signed-off-by: Giorgio Arena <giorgio.arena@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/6014 Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core/CL/ICLKernel.h')
-rw-r--r--src/core/CL/ICLKernel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/CL/ICLKernel.h b/src/core/CL/ICLKernel.h
index ae3077a564..3b3217d1d8 100644
--- a/src/core/CL/ICLKernel.h
+++ b/src/core/CL/ICLKernel.h
@@ -33,6 +33,8 @@
#include "arm_compute/core/experimental/Types.h"
#include "arm_compute/runtime/CL/CLTuningParams.h"
+#include "src/core/CL/DefaultLWSHeuristics.h"
+
#include <string>
namespace arm_compute
@@ -87,8 +89,7 @@ private:
cl::NDRange default_lws_tune(const Window &window)
{
- ARM_COMPUTE_UNUSED(window);
- return CLKernelLibrary::get().default_ndrange();
+ return get_default_lws_for_type(_type, gws_from_window(window));
}
using IKernel::configure; //Prevent children from calling IKernel::configure() directly