From 34702479adcf3559e8ebe27915179af509b070d2 Mon Sep 17 00:00:00 2001 From: steniu01 Date: Tue, 11 Jul 2017 09:22:58 +0100 Subject: COMPMID-417 Checking CL non uniform support at runtime. What have been done in the ticket are: 1. Add support to check whether cl-non-unform-workgroup is supported at runtime 2. Add helper function to check the CL version at runtime 3. Add boolen to check whether CLSecheduler's init has been called. Change-Id: I6e6df8eb5cebfac7229aa406242bb183477fd191 Reviewed-on: http://mpd-gerrit.cambridge.arm.com/80265 Tested-by: Kaizen Reviewed-by: Anthony Barbier --- arm_compute/core/CL/CLTypes.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'arm_compute/core/CL/CLTypes.h') diff --git a/arm_compute/core/CL/CLTypes.h b/arm_compute/core/CL/CLTypes.h index c5643d8939..cf11f6ecd7 100644 --- a/arm_compute/core/CL/CLTypes.h +++ b/arm_compute/core/CL/CLTypes.h @@ -37,5 +37,15 @@ enum class GPUTarget T800 = 0x130, G70 = 0x210 }; + +/* Available OpenCL Version */ +enum class CLVersion +{ + CL10, /* the OpenCL 1.0 */ + CL11, /* the OpenCL 1.1 */ + CL12, /* the OpenCL 1.2 */ + CL20, /* the OpenCL 2.0 and above */ + UNKNOWN /* unkown version */ +}; } #endif /* __ARM_COMPUTE_CL_TYPES_H__ */ -- cgit v1.2.1