12 lines
505 B
C
12 lines
505 B
C
// Automatically generated by generateClRun.pl
|
|
#include "dynamiclib.h"
|
|
#include "../include/CL/cl_gl_ext.h"
|
|
|
|
|
|
static cl_event (*clCreateEventFromGLsyncKHR_ptr)(cl_context, cl_GLsync, cl_int *) = NULL;
|
|
cl_event CL_API_CALL clCreateEventFromGLsyncKHR (cl_context context,cl_GLsync cl_GLsync,cl_int * errcode_ret) {
|
|
if(!clCreateEventFromGLsyncKHR_ptr) clCreateEventFromGLsyncKHR_ptr = getFunction("clCreateEventFromGLsyncKHR");
|
|
return (*clCreateEventFromGLsyncKHR_ptr)(context, cl_GLsync, errcode_ret);
|
|
}
|
|
|