diff options
author | Manuel Bottini <manuel.bottini@arm.com> | 2020-11-18 17:56:30 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2021-01-08 11:27:40 +0000 |
commit | b56c1758dfc233452ff73149fabe30e1c460e9d3 (patch) | |
tree | f6a9fb4d3a89e7239024193ee2675488fb1025ca /arm_compute/runtime/CL/CLTunerTypes.h | |
parent | 805145dcffff952b6fad390e4092ff6141106cab (diff) | |
download | ComputeLibrary-b56c1758dfc233452ff73149fabe30e1c460e9d3.tar.gz |
Generalization of CLTuner
Rename lws to tuning parameters in functions used externally
Add new generalized objects for the OpenCL Tuner to accommodate
further possible tuning parameters
Resolves: COMPMID-3935
Change-Id: I0f2a0f89bca5dae4a4e4adce2f7c7cae32ecb84a
Signed-off-by: Manuel Bottini <manuel.bottini@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4584
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'arm_compute/runtime/CL/CLTunerTypes.h')
-rw-r--r-- | arm_compute/runtime/CL/CLTunerTypes.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arm_compute/runtime/CL/CLTunerTypes.h b/arm_compute/runtime/CL/CLTunerTypes.h index e3180f2165..49e2d615ea 100644 --- a/arm_compute/runtime/CL/CLTunerTypes.h +++ b/arm_compute/runtime/CL/CLTunerTypes.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2019 Arm Limited. + * Copyright (c) 2019-2021 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -39,6 +39,12 @@ enum class CLTunerMode RAPID /**< Searches a minimal subset of LWS configurations while tuning */ }; +/**< OpenCL tuner tuning information */ +struct CLTuningInfo +{ + bool tune_lws = true; +}; + /** Converts a string to a strong types enumeration @ref CLTunerMode * * @param[in] name String to convert |