aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CL/CLTypes.h
diff options
context:
space:
mode:
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__ */