From f8bb0928ed5e2acce2f6e0c2fd8caf8884141c79 Mon Sep 17 00:00:00 2001 From: Viet-Hoa Do Date: Mon, 30 May 2022 15:15:15 +0100 Subject: Add support OpenCL 3.0 non-uniform workgroup * Add OpenCL version 3 detection. * Use -cl-std=CL3.0 build option to support non-uniform workgroup when OpenCL 3 is detected and the feature is supported. Resolves: COMPMID-5208 Signed-off-by: Viet-Hoa Do Change-Id: Ifd8cbae6b34228c07e761bcb94ee8f35bdf1bace Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/7655 Tested-by: Arm Jenkins Comments-Addressed: Arm Jenkins Reviewed-by: Pablo Marquez Tello Benchmark: Arm Jenkins --- arm_compute/AclOpenClExt.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arm_compute/AclOpenClExt.h') diff --git a/arm_compute/AclOpenClExt.h b/arm_compute/AclOpenClExt.h index c349f76d86..ef80fd2443 100644 --- a/arm_compute/AclOpenClExt.h +++ b/arm_compute/AclOpenClExt.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2021 Arm Limited. + * Copyright (c) 2021-2022 Arm Limited. * * SPDX-License-Identifier: MIT * @@ -27,7 +27,7 @@ #include "arm_compute/AclTypes.h" #ifndef CL_TARGET_OPENCL_VERSION -#define CL_TARGET_OPENCL_VERSION 200 +#define CL_TARGET_OPENCL_VERSION 300 #define CL_USE_DEPRECATED_OPENCL_1_1_APIS #define CL_USE_DEPRECATED_OPENCL_1_2_APIS #endif /* CL_TARGET_OPENCL_VERSION */ -- cgit v1.2.1