diff options
Diffstat (limited to 'arm_compute/core/CL')
-rw-r--r-- | arm_compute/core/CL/CLKernelLibrary.h | 5 |
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. |