|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jogamp.opencl.impl.CLAbstractImpl
com.jogamp.opencl.impl.CLImpl
public class CLImpl
Java bindings to OpenCL, the Open Computing Language.
Field Summary |
---|
Fields inherited from class com.jogamp.opencl.impl.CLAbstractImpl |
---|
addressTable |
Fields inherited from interface com.jogamp.opencl.gl.CLGLI |
---|
CL_GL_CONTEXT_KHR, CL_GL_MIPMAP_LEVEL, CL_GL_OBJECT_BUFFER, CL_GL_OBJECT_RENDERBUFFER, CL_GL_OBJECT_TEXTURE2D, CL_GL_OBJECT_TEXTURE3D, CL_GL_TEXTURE_TARGET |
Constructor Summary | |
---|---|
CLImpl(CLProcAddressTable addressTable)
|
Method Summary | |
---|---|
int |
clBuildProgram(long program,
int deviceCount,
PointerBuffer deviceList,
String options,
BuildProgramCallback cb)
Interface to C language function: int32_t clBuildProgram(cl_program, uint32_t, cl_device_id * , const char * , void * ); |
long |
clCreateContext(PointerBuffer properties,
PointerBuffer devices,
CLErrorHandler pfn_notify,
IntBuffer errcode_ret)
Interface to C language function: cl_context clCreateContext(intptr_t * , uint32_t, cl_device_id * , void (*pfn_notify)(const char *, const void *, size_t, void *), void *, int32_t * ); |
long |
clCreateContextFromType(PointerBuffer properties,
long device_type,
CLErrorHandler pfn_notify,
IntBuffer errcode_ret)
Interface to C language function: cl_context clCreateContextFromType(cl_context_properties *properties, cl_device_type device_type, void (*pfn_notify)(const char *errinfo, const void *private_info, size_t cb, void *user_data), void *user_data, cl_int *errcode_ret) ; |
ByteBuffer |
clEnqueueMapImage(long command_queue,
long image,
int blocking_map,
long map_flags,
PointerBuffer origin,
PointerBuffer range,
PointerBuffer image_row_pitch,
PointerBuffer image_slice_pitch,
int num_events_in_wait_list,
PointerBuffer event_wait_list,
PointerBuffer event,
IntBuffer errcode_ret)
Interface to C language function: void * clEnqueueMapImage(cl_command_queue command_queue, cl_mem image, uint32_t blocking_map, uint64_t map_flags, const size_t * , const size_t * , size_t * image_row_pitch, size_t * image_slice_pitch, uint32_t num_events_in_wait_list, cl_event * event_wait_list, cl_event * event, int32_t * errcode_ret); |
long |
clGetExtensionFunctionAddress(String name)
Returns the extension function address for the given function name. |
int |
clReleaseContext(long context)
Interface to C language function: cl_int clReleaseContext(cl_context context); |
int |
clReleaseContextImpl(long context,
long global,
long address)
Interface to C language function: int32_t clReleaseContext(cl_context context); |
int |
clSetEventCallback(long event,
int trigger,
CLEventCallback callback)
Interface to C language function: int32_t clSetEventCallback(cl_event event, cl_int command_exec_callback_type, void (CL_CALLBACK *pfn_event_notify) (cl_event event, cl_int event_command_exec_status, void *user_data), void *user_data); |
int |
clSetMemObjectDestructorCallback(long memObjID,
CLMemObjectDestructorCallback cb)
Interface to C language function: int32_t clSetMemObjectDestructorCallback(cl_mem memobj, void (CL_CALLBACK *pfn_notify) (cl_mem memobj, void *user_data), void *user_data); |
CLProcAddressTable |
getAddressTable()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CLImpl(CLProcAddressTable addressTable)
Method Detail |
---|
public long clCreateContext(PointerBuffer properties, PointerBuffer devices, CLErrorHandler pfn_notify, IntBuffer errcode_ret)
CL
cl_context clCreateContext(intptr_t * , uint32_t, cl_device_id * , void (*pfn_notify)(const char *, const void *, size_t, void *), void *, int32_t * );
public long clCreateContextFromType(PointerBuffer properties, long device_type, CLErrorHandler pfn_notify, IntBuffer errcode_ret)
CL
cl_context clCreateContextFromType(cl_context_properties *properties, cl_device_type device_type, void (*pfn_notify)(const char *errinfo, const void *private_info, size_t cb, void *user_data), void *user_data, cl_int *errcode_ret) ;
public int clReleaseContext(long context)
CL
cl_int clReleaseContext(cl_context context);
public int clReleaseContextImpl(long context, long global, long address)
int32_t clReleaseContext(cl_context context);
public int clBuildProgram(long program, int deviceCount, PointerBuffer deviceList, String options, BuildProgramCallback cb)
int32_t clBuildProgram(cl_program, uint32_t, cl_device_id * , const char * , void * );
public int clSetEventCallback(long event, int trigger, CLEventCallback callback)
CL
int32_t clSetEventCallback(cl_event event, cl_int command_exec_callback_type, void (CL_CALLBACK *pfn_event_notify) (cl_event event, cl_int event_command_exec_status, void *user_data), void *user_data);
public int clSetMemObjectDestructorCallback(long memObjID, CLMemObjectDestructorCallback cb)
CL
int32_t clSetMemObjectDestructorCallback(cl_mem memobj, void (CL_CALLBACK *pfn_notify) (cl_mem memobj, void *user_data), void *user_data);
public ByteBuffer clEnqueueMapImage(long command_queue, long image, int blocking_map, long map_flags, PointerBuffer origin, PointerBuffer range, PointerBuffer image_row_pitch, PointerBuffer image_slice_pitch, int num_events_in_wait_list, PointerBuffer event_wait_list, PointerBuffer event, IntBuffer errcode_ret)
void * clEnqueueMapImage(cl_command_queue command_queue, cl_mem image, uint32_t blocking_map, uint64_t map_flags, const size_t * , const size_t * , size_t * image_row_pitch, size_t * image_slice_pitch, uint32_t num_events_in_wait_list, cl_event * event_wait_list, cl_event * event, int32_t * errcode_ret);
origin
- a direct PointerBuffer
range
- a direct PointerBuffer
image_row_pitch
- a direct PointerBuffer
image_slice_pitch
- a direct PointerBuffer
event_wait_list
- a direct PointerBuffer
event
- a direct PointerBuffer
errcode_ret
- a direct IntBuffer
public long clGetExtensionFunctionAddress(String name)
public CLProcAddressTable getAddressTable()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |