From c0d1c86b1bb1b4e129c292549845e00dfd8abfee Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Fri, 23 Mar 2018 15:13:15 +0000 Subject: COMPMID-734: CLTuner rework Change-Id: I8f20d6ea8a09869d71003e7b08e0d33775282f6c Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/125802 Tested-by: Jenkins Reviewed-by: Anthony Barbier --- arm_compute/core/CL/CLTypes.h | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'arm_compute/core/CL/CLTypes.h') diff --git a/arm_compute/core/CL/CLTypes.h b/arm_compute/core/CL/CLTypes.h index a9d5fdd063..14c31fa396 100644 --- a/arm_compute/core/CL/CLTypes.h +++ b/arm_compute/core/CL/CLTypes.h @@ -60,5 +60,16 @@ enum class CLVersion CL20, /* the OpenCL 2.0 and above */ UNKNOWN /* unkown version */ }; -} + +/** OpenCL device options */ +struct CLDeviceOptions +{ + std::string name; /**< Device name */ + std::string extensions; /**< List of supported extensions */ + std::string ddk_version; /**< DDK version */ + GPUTarget gpu_target; /**< GPU target architecture/instance */ + size_t num_cores; /**< Number of cores */ + size_t cache_size; /**< Cache size */ +}; +} // namespace arm_compute #endif /* __ARM_COMPUTE_CL_TYPES_H__ */ -- cgit v1.2.1