aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CL/CLTypes.h
diff options
context:
space:
mode:
authorMichalis Spyrou <michalis.spyrou@arm.com>2020-03-26 10:31:32 +0000
committerMichalis Spyrou <michalis.spyrou@arm.com>2020-04-08 09:12:09 +0000
commit11d4918b2321d1e590124f44dd68e6cda223dbdc (patch)
tree059b20480d2e5e22604cb852e5cb12fc2bfb0afd /arm_compute/core/CL/CLTypes.h
parentf64d33619827ce6ec9af4566c4743834e521328e (diff)
downloadComputeLibrary-11d4918b2321d1e590124f44dd68e6cda223dbdc.tar.gz
COMPMID-3279: Create CLCompiler interface
Change-Id: Ic9dd5288d72a690651aa03d474f2bfd6e1ebe8b2 Signed-off-by: Michalis Spyrou <michalis.spyrou@arm.com> Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/2957 Tested-by: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-by: Gian Marco Iodice <gianmarco.iodice@arm.com>
Diffstat (limited to 'arm_compute/core/CL/CLTypes.h')
-rw-r--r--arm_compute/core/CL/CLTypes.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/arm_compute/core/CL/CLTypes.h b/arm_compute/core/CL/CLTypes.h
index 9f6ff6a82b..3643b178d3 100644
--- a/arm_compute/core/CL/CLTypes.h
+++ b/arm_compute/core/CL/CLTypes.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2017-2019 ARM Limited.
+ * Copyright (c) 2017-2020 ARM Limited.
*
* SPDX-License-Identifier: MIT
*
@@ -27,6 +27,7 @@
#include "arm_compute/core/CL/ICLArray.h"
#include "arm_compute/core/GPUTarget.h"
+#include <set>
#include <string>
namespace arm_compute
@@ -47,12 +48,14 @@ enum class CLVersion
/** 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 */
+ std::string name{}; /**< Device name */
+ std::string device_version{}; /**< Device version string */
+ std::set<std::string> extensions{}; /**< List of supported extensions */
+ std::string ddk_version{}; /**< DDK version */
+ GPUTarget gpu_target{}; /**< GPU target architecture/instance */
+ CLVersion version{}; /**< Device OpenCL version */
+ size_t compute_units{}; /**< Number of compute units */
+ size_t cache_size{}; /**< Cache size */
};
/** OpenCL quantization data */