From b5368fb3da65ca1d31e6acd6cd45b8b6b789f1eb Mon Sep 17 00:00:00 2001 From: Viet-Hoa Do Date: Wed, 21 Sep 2022 11:31:46 +0100 Subject: 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 Change-Id: I7d9ecc3b5a4eceaff44542cd26f6f05e30ab2c1f Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/8351 Benchmark: Arm Jenkins Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Pablo Marquez Tello --- arm_compute/core/CL/CLCompileContext.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arm_compute/core/CL/CLCompileContext.h') 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. * -- cgit v1.2.1