From 48b6d17f8958c5bc9fa715853d227e430e3547e8 Mon Sep 17 00:00:00 2001 From: Viet-Hoa Do Date: Fri, 11 Aug 2023 17:48:54 +0100 Subject: Check CL command buffer extension * Add helper functions to check whether command buffer extensions exist in CL device. Resolves: COMPMID-6453 Signed-off-by: Viet-Hoa Do Change-Id: Ibc287e4526e54be4702241ab8ca0cea0b8661b3a Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/10130 Benchmark: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Anitha Raj Reviewed-by: Jakub Sujak Comments-Addressed: Arm Jenkins --- arm_compute/core/CL/CLHelpers.h | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) (limited to 'arm_compute') diff --git a/arm_compute/core/CL/CLHelpers.h b/arm_compute/core/CL/CLHelpers.h index a162b1c118..20d93df5a1 100644 --- a/arm_compute/core/CL/CLHelpers.h +++ b/arm_compute/core/CL/CLHelpers.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016-2022 Arm Limited. + * Copyright (c) 2016-2023 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -267,5 +267,22 @@ void set_unroll_with_pragma(CLBuildOptions &built_opts, std::initializer_list