mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
Accept OpenCL 3.0 in version parsing code and use where appropriate (#752)
* Accept OpenCL 3.0 in version parsing code and use where appropriate There were a number of tests against 2.2 that are clearer against 3.0. Fixes #751 Signed-off-by: Kévin Petit <kpet@free.fr> * Remove CL_EXPERIMENTAL guards Signed-off-by: Kévin Petit <kpet@free.fr> * formatting * Configure the headers for OpenCL 3.0 * more format fixes
This commit is contained in:
@@ -16,7 +16,7 @@ else(CMAKE_BUILD_TYPE STREQUAL "release")
|
||||
set (BUILD_FLAVOR "debug")
|
||||
endif(CMAKE_BUILD_TYPE STREQUAL "release")
|
||||
|
||||
add_definitions(-DCL_TARGET_OPENCL_VERSION=220)
|
||||
add_definitions(-DCL_TARGET_OPENCL_VERSION=300)
|
||||
add_definitions(-DCL_USE_DEPRECATED_OPENCL_2_1_APIS=1)
|
||||
add_definitions(-DCL_USE_DEPRECATED_OPENCL_2_0_APIS=1)
|
||||
add_definitions(-DCL_USE_DEPRECATED_OPENCL_1_2_APIS=1)
|
||||
|
||||
Reference in New Issue
Block a user