aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CL/CLTypes.h
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2018-03-23 15:13:15 +0000
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:49:16 +0000
commitc0d1c86b1bb1b4e129c292549845e00dfd8abfee (patch)
treedfb24aa860615f45a430a5c921df7a1a20eb52d8 /arm_compute/core/CL/CLTypes.h
parent7fad9b1d00f3ee1488ba4038d1371f6ea219f8b7 (diff)
downloadComputeLibrary-c0d1c86b1bb1b4e129c292549845e00dfd8abfee.tar.gz
COMPMID-734: CLTuner rework
Change-Id: I8f20d6ea8a09869d71003e7b08e0d33775282f6c Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/125802 Tested-by: Jenkins <bsgcomp@arm.com> Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Diffstat (limited to 'arm_compute/core/CL/CLTypes.h')
-rw-r--r--arm_compute/core/CL/CLTypes.h13
1 files changed, 12 insertions, 1 deletions
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__ */