From be9f9f9139b759d314f4f2a6d2ee747079666504 Mon Sep 17 00:00:00 2001 From: Manuel Bottini Date: Mon, 25 Jan 2021 15:07:17 +0000 Subject: Add WBSM tuning to CLTuner Add WBSM as possible parameter to be tuned Add helper functions to check WBSM support and setting the value in the kernel Update tuning parameter lists to use WBSM Update CLTuner to use WBSM The WBSM tuning is exposed as a parameter to be set at compile time by setting the CLTuningInfo CLTuningInfo contains information about the tuning mode and if wbsm tuning enabled Resolves: COMPMID-3936 Change-Id: Id53697c9c6d2cef41c049f368002f6197351b3ed Signed-off-by: Manuel Bottini Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4914 Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Gian Marco Iodice Reviewed-by: Georgios Pinitas --- arm_compute/runtime/CL/tuners/CLTuningParametersList.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'arm_compute/runtime/CL/tuners') diff --git a/arm_compute/runtime/CL/tuners/CLTuningParametersList.h b/arm_compute/runtime/CL/tuners/CLTuningParametersList.h index c51b9901ef..69572c98d2 100644 --- a/arm_compute/runtime/CL/tuners/CLTuningParametersList.h +++ b/arm_compute/runtime/CL/tuners/CLTuningParametersList.h @@ -76,10 +76,13 @@ public: }; /** Construct an ICLTuningParametersList object for the given tuner mode and gws configuration. + * + * @param[in] tuning_info Tuning info containng which parameters to tune and the tuner mode + * @param[in] gws Global worksize values * * @return unique_ptr to the requested ICLTuningParametersList implementation. */ -std::unique_ptr get_tuning_parameters_list(CLTunerMode mode, const cl::NDRange &gws); +std::unique_ptr get_tuning_parameters_list(CLTuningInfo tuning_info, const cl::NDRange &gws); } // namespace cl_tuner } // namespace arm_compute -- cgit v1.2.1