|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jogamp.opencl.llb.impl.CLAbstractImpl
com.jogamp.opencl.llb.impl.CLImpl
public class CLImpl
Java bindings to OpenCL, the Open Computing Language.
| Field Summary |
|---|
| Fields inherited from class com.jogamp.opencl.llb.impl.CLAbstractImpl |
|---|
addressTable |
| Fields inherited from interface com.jogamp.opencl.llb.CLContextBinding |
|---|
CL_CONTEXT_DEVICES, CL_CONTEXT_NUM_DEVICES, CL_CONTEXT_PLATFORM, CL_CONTEXT_PROPERTIES, CL_CONTEXT_REFERENCE_COUNT |
| Fields inherited from interface com.jogamp.opencl.llb.CLProgramBinding |
|---|
CL_BUILD_ERROR, CL_BUILD_IN_PROGRESS, CL_BUILD_NONE, CL_BUILD_PROGRAM_FAILURE, CL_BUILD_SUCCESS, CL_PROGRAM_BINARIES, CL_PROGRAM_BINARY_SIZES, CL_PROGRAM_BUILD_LOG, CL_PROGRAM_BUILD_OPTIONS, CL_PROGRAM_BUILD_STATUS, CL_PROGRAM_CONTEXT, CL_PROGRAM_DEVICES, CL_PROGRAM_NUM_DEVICES, CL_PROGRAM_REFERENCE_COUNT, CL_PROGRAM_SOURCE |
| Fields inherited from interface com.jogamp.opencl.llb.CLKernelBinding |
|---|
CL_KERNEL_COMPILE_WORK_GROUP_SIZE, CL_KERNEL_CONTEXT, CL_KERNEL_FUNCTION_NAME, CL_KERNEL_LOCAL_MEM_SIZE, CL_KERNEL_NUM_ARGS, CL_KERNEL_PREFERRED_WORK_GROUP_SIZE_MULTIPLE, CL_KERNEL_PRIVATE_MEM_SIZE, CL_KERNEL_PROGRAM, CL_KERNEL_REFERENCE_COUNT, CL_KERNEL_WORK_GROUP_SIZE |
| Fields inherited from interface com.jogamp.opencl.llb.CLImageBinding |
|---|
CL_A, CL_ARGB, CL_BGRA, CL_FLOAT, CL_HALF_FLOAT, CL_IMAGE_DEPTH, CL_IMAGE_ELEMENT_SIZE, CL_IMAGE_FORMAT, CL_IMAGE_FORMAT_MISMATCH, CL_IMAGE_FORMAT_NOT_SUPPORTED, CL_IMAGE_HEIGHT, CL_IMAGE_ROW_PITCH, CL_IMAGE_SLICE_PITCH, CL_IMAGE_WIDTH, CL_INTENSITY, CL_LUMINANCE, CL_R, CL_RA, CL_RG, CL_RGB, CL_RGBA, CL_RGBx, CL_RGx, CL_Rx, CL_SIGNED_INT16, CL_SIGNED_INT32, CL_SIGNED_INT8, CL_SNORM_INT16, CL_SNORM_INT8, CL_UNORM_INT_101010, CL_UNORM_INT16, CL_UNORM_INT8, CL_UNORM_SHORT_555, CL_UNORM_SHORT_565, CL_UNSIGNED_INT16, CL_UNSIGNED_INT32, CL_UNSIGNED_INT8 |
| Fields inherited from interface com.jogamp.opencl.llb.CLSamplerBinding |
|---|
CL_ADDRESS_CLAMP, CL_ADDRESS_CLAMP_TO_EDGE, CL_ADDRESS_MIRRORED_REPEAT, CL_ADDRESS_NONE, CL_ADDRESS_REPEAT, CL_FILTER_LINEAR, CL_FILTER_NEAREST, CL_SAMPLER_ADDRESSING_MODE, CL_SAMPLER_CONTEXT, CL_SAMPLER_FILTER_MODE, CL_SAMPLER_NORMALIZED_COORDS, CL_SAMPLER_REFERENCE_COUNT |
| Fields inherited from interface com.jogamp.opencl.llb.CLEventBinding |
|---|
CL_EVENT_COMMAND_EXECUTION_STATUS, CL_EVENT_COMMAND_QUEUE, CL_EVENT_COMMAND_TYPE, CL_EVENT_CONTEXT, CL_EVENT_REFERENCE_COUNT |
| Fields inherited from interface com.jogamp.opencl.llb.CLPlatformBinding |
|---|
CL_PLATFORM_EXTENSIONS, CL_PLATFORM_ICD_SUFFIX_KHR, CL_PLATFORM_NAME, CL_PLATFORM_NOT_FOUND_KHR, CL_PLATFORM_PROFILE, CL_PLATFORM_VENDOR, CL_PLATFORM_VERSION |
| 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)
CLContextBinding 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)
CLContextBinding 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)
CLContextBinding 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)
CLEventBinding 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)
CLMemObjBinding 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 PointerBufferrange - a direct PointerBufferimage_row_pitch - a direct PointerBufferimage_slice_pitch - a direct PointerBufferevent_wait_list - a direct PointerBufferevent - a direct PointerBuffererrcode_ret - a direct IntBufferpublic long clGetExtensionFunctionAddress(String name)
public CLProcAddressTable getAddressTable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||