aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CL
diff options
context:
space:
mode:
authorGiorgio Arena <giorgio.arena@arm.com>2019-07-26 15:54:20 +0100
committerGiorgio Arena <giorgio.arena@arm.com>2019-07-30 11:32:26 +0000
commit5d42b4635f60b57a81b702d924a6e9b5b7cfbc01 (patch)
tree3347afbabd456bfc5ef9d801ababf474db6eb7f6 /arm_compute/core/CL
parentcf3abde6c44177b6db438ecfcdac3d3594d74488 (diff)
downloadComputeLibrary-5d42b4635f60b57a81b702d924a6e9b5b7cfbc01.tar.gz
COMPMID-2467 Include IP information to the tuning config
Change-Id: I00e29f30eda0edc76ae393bef14f0092e57a5195 Signed-off-by: Giorgio Arena <giorgio.arena@arm.com> Reviewed-on: https://review.mlplatform.org/c/1634 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'arm_compute/core/CL')
-rw-r--r--arm_compute/core/CL/CLKernelLibrary.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arm_compute/core/CL/CLKernelLibrary.h b/arm_compute/core/CL/CLKernelLibrary.h
index 741e47c65f..9f183f1232 100644
--- a/arm_compute/core/CL/CLKernelLibrary.h
+++ b/arm_compute/core/CL/CLKernelLibrary.h
@@ -297,6 +297,11 @@ public:
* @return The content of CL_DEVICE_VERSION
*/
std::string get_device_version();
+ /** Return the maximum number of compute units in the device
+ *
+ * @return The content of CL_DEVICE_MAX_COMPUTE_UNITS
+ */
+ cl_uint get_num_compute_units();
/** Creates a kernel from the kernel library.
*
* @param[in] kernel_name Kernel name.