org.jocl
Interface CreateContextFunction
public interface CreateContextFunction
Emulation of a function pointer for functions that may be passed to the
clCreateContext and
clCreateContextFromType methods.
- See Also:
CL.clCreateContext(cl_context_properties, int, cl_device_id[], CreateContextFunction, Object, int[]),
CL.clCreateContextFromType(cl_context_properties, long, CreateContextFunction, Object, int[])
|
Method Summary |
void |
function(java.lang.String errinfo,
Pointer private_info,
long cb,
java.lang.Object user_data)
The function that will be called. |
function
void function(java.lang.String errinfo,
Pointer private_info,
long cb,
java.lang.Object user_data)
- The function that will be called.
- Parameters:
errinfo - The error info.private_info - The private info data.cb - The The size of the private info data.user_data - The user data.