mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
define CL_NO_EXTENSION_PROTOTYPES (#1325)
* define CL_NO_PROTOTYPES When we switch to generated headers this will suppress declaration of extension functions, so we can continue to declare function pointers with the same name. * switch to CL_NO_EXTENSION_PROTOTYPES CL_NO_PROTOTYPES will omit declarations of core OpenCL APIs also.
This commit is contained in:
@@ -17,6 +17,7 @@ add_definitions(-DCL_USE_DEPRECATED_OPENCL_2_0_APIS=1)
|
|||||||
add_definitions(-DCL_USE_DEPRECATED_OPENCL_1_2_APIS=1)
|
add_definitions(-DCL_USE_DEPRECATED_OPENCL_1_2_APIS=1)
|
||||||
add_definitions(-DCL_USE_DEPRECATED_OPENCL_1_1_APIS=1)
|
add_definitions(-DCL_USE_DEPRECATED_OPENCL_1_1_APIS=1)
|
||||||
add_definitions(-DCL_USE_DEPRECATED_OPENCL_1_0_APIS=1)
|
add_definitions(-DCL_USE_DEPRECATED_OPENCL_1_0_APIS=1)
|
||||||
|
add_definitions(-DCL_NO_EXTENSION_PROTOTYPES)
|
||||||
|
|
||||||
option(USE_CL_EXPERIMENTAL "Use Experimental definitions" OFF)
|
option(USE_CL_EXPERIMENTAL "Use Experimental definitions" OFF)
|
||||||
if(USE_CL_EXPERIMENTAL)
|
if(USE_CL_EXPERIMENTAL)
|
||||||
|
|||||||
Reference in New Issue
Block a user