Signed-off-by: Pierre Moreau <pierre.mor...@free.fr> --- include/CL/cl.h | 6 ++++++ include/CL/cl_platform.h | 1 + 2 files changed, 7 insertions(+)
diff --git a/include/CL/cl.h b/include/CL/cl.h index 316565d6e4..44d7aedc3e 100644 --- a/include/CL/cl.h +++ b/include/CL/cl.h @@ -757,6 +757,12 @@ clCreateProgramWithBuiltInKernels(cl_context /* context */, const char * /* kernel_names */, cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_2; +extern CL_API_ENTRY cl_program CL_API_CALL +clCreateProgramWithIL(cl_context /* context */, + const void* /* il */, + size_t /* length */, + cl_int* /* errcode_ret */) CL_API_SUFFIX__VERSION_2_1; + extern CL_API_ENTRY cl_int CL_API_CALL clRetainProgram(cl_program /* program */) CL_API_SUFFIX__VERSION_1_0; diff --git a/include/CL/cl_platform.h b/include/CL/cl_platform.h index 7f6f5e8a74..105d3cc1f0 100644 --- a/include/CL/cl_platform.h +++ b/include/CL/cl_platform.h @@ -75,6 +75,7 @@ extern "C" { #define CL_EXT_SUFFIX__VERSION_1_1 #define CL_API_SUFFIX__VERSION_1_2 #define CL_EXT_SUFFIX__VERSION_1_2 + #define CL_API_SUFFIX__VERSION_2_1 #ifdef __GNUC__ #ifdef CL_USE_DEPRECATED_OPENCL_1_0_APIS -- 2.12.2 _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev