aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/core/CL
diff options
context:
space:
mode:
authorViet-Hoa Do <viet-hoa.do@arm.com>2022-09-21 11:31:46 +0100
committerViet-Hoa Do <viet-hoa.do@arm.com>2022-10-03 16:46:42 +0000
commitb5368fb3da65ca1d31e6acd6cd45b8b6b789f1eb (patch)
tree90786fcb5f55f90fec6124da6b241cb56ce0d4af /arm_compute/core/CL
parent304dfdba67958f5987d88ad0ce538399c3e50bc8 (diff)
downloadComputeLibrary-b5368fb3da65ca1d31e6acd6cd45b8b6b789f1eb.tar.gz
Force CL kernel compilation with 64 registers
* For DDK version 30 and higher, force the CL compiler to use 64 registers for NHWC direct convolution. Resolves: COMPMID-5508 Signed-off-by: Viet-Hoa Do <viet-hoa.do@arm.com> Change-Id: I7d9ecc3b5a4eceaff44542cd26f6f05e30ab2c1f Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/8351 Benchmark: Arm Jenkins <bsgcomp@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Pablo Marquez Tello <pablo.tello@arm.com>
Diffstat (limited to 'arm_compute/core/CL')
-rw-r--r--arm_compute/core/CL/CLCompileContext.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/arm_compute/core/CL/CLCompileContext.h b/arm_compute/core/CL/CLCompileContext.h
index 0ce074df2b..e8f2ff35da 100644
--- a/arm_compute/core/CL/CLCompileContext.h
+++ b/arm_compute/core/CL/CLCompileContext.h
@@ -304,6 +304,12 @@ public:
*/
bool is_wbsm_supported() const;
+ /** Return the DDK version. If the DDK version cannot be detected, return -1.
+ *
+ * @return The DDK version.
+ */
+ int32_t get_ddk_version() const;
+
private:
/** Load program and its dependencies.
*