|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CLContextBinding
Java bindings to OpenCL contexts.
Field Summary | |
---|---|
static int |
CL_CONTEXT_DEVICES
|
static int |
CL_CONTEXT_NUM_DEVICES
|
static int |
CL_CONTEXT_PLATFORM
|
static int |
CL_CONTEXT_PROPERTIES
|
static int |
CL_CONTEXT_REFERENCE_COUNT
|
Method Summary | |
---|---|
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) ; |
int |
clGetContextInfo(long context,
int param_name,
long param_value_size,
Buffer param_value,
PointerBuffer param_value_size_ret)
Interface to C language function: cl_int clGetContextInfo(cl_context context, cl_context_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret); |
int |
clGetSupportedImageFormats(long context,
long flags,
int image_type,
int num_entries,
CLImageFormatImpl image_formats,
int[] num_image_formats,
int num_image_formats_offset)
Interface to C language function: cl_int clGetSupportedImageFormats(cl_context context, cl_mem_flags flags, cl_mem_object_type image_type, cl_uint num_entries, cl_image_format * image_formats, cl_uint * num_image_formats); |
int |
clGetSupportedImageFormats(long context,
long flags,
int image_type,
int num_entries,
CLImageFormatImpl image_formats,
IntBuffer num_image_formats)
Interface to C language function: cl_int clGetSupportedImageFormats(cl_context context, cl_mem_flags flags, cl_mem_object_type image_type, cl_uint num_entries, cl_image_format * image_formats, cl_uint * num_image_formats); |
int |
clReleaseContext(long context)
Interface to C language function: cl_int clReleaseContext(cl_context context); |
int |
clRetainContext(long context)
Interface to C language function: cl_int clRetainContext(cl_context context); |
Field Detail |
---|
static final int CL_CONTEXT_REFERENCE_COUNT
static final int CL_CONTEXT_DEVICES
static final int CL_CONTEXT_PROPERTIES
static final int CL_CONTEXT_NUM_DEVICES
static final int CL_CONTEXT_PLATFORM
Method Detail |
---|
int clGetContextInfo(long context, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
cl_int clGetContextInfo(cl_context context, cl_context_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret);
param_value
- a direct only Buffer
param_value_size_ret
- a direct only PointerBuffer
int clGetSupportedImageFormats(long context, long flags, int image_type, int num_entries, CLImageFormatImpl image_formats, IntBuffer num_image_formats)
cl_int clGetSupportedImageFormats(cl_context context, cl_mem_flags flags, cl_mem_object_type image_type, cl_uint num_entries, cl_image_format * image_formats, cl_uint * num_image_formats);
num_image_formats
- a direct or array-backed IntBuffer
int clGetSupportedImageFormats(long context, long flags, int image_type, int num_entries, CLImageFormatImpl image_formats, int[] num_image_formats, int num_image_formats_offset)
cl_int clGetSupportedImageFormats(cl_context context, cl_mem_flags flags, cl_mem_object_type image_type, cl_uint num_entries, cl_image_format * image_formats, cl_uint * num_image_formats);
int clReleaseContext(long context)
cl_int clReleaseContext(cl_context context);
int clRetainContext(long context)
cl_int clRetainContext(cl_context context);
long clCreateContext(PointerBuffer properties, PointerBuffer devices, CLErrorHandler pfn_notify, IntBuffer errcode_ret)
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)
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) ;
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |