public interface CLProgramBinding
Modifier and Type | Field and Description |
---|---|
static int |
CL_BUILD_ERROR
CType: int
|
static int |
CL_BUILD_IN_PROGRESS
CType: int
|
static int |
CL_BUILD_NONE
CType: int
|
static int |
CL_BUILD_PROGRAM_FAILURE
CType: int
|
static int |
CL_BUILD_SUCCESS
CType: int
|
static int |
CL_PROGRAM_BINARIES
CType: int
|
static int |
CL_PROGRAM_BINARY_SIZES
CType: int
|
static int |
CL_PROGRAM_BUILD_LOG
CType: int
|
static int |
CL_PROGRAM_BUILD_OPTIONS
CType: int
|
static int |
CL_PROGRAM_BUILD_STATUS
CType: int
|
static int |
CL_PROGRAM_CONTEXT
CType: int
|
static int |
CL_PROGRAM_DEVICES
CType: int
|
static int |
CL_PROGRAM_NUM_DEVICES
CType: int
|
static int |
CL_PROGRAM_REFERENCE_COUNT
CType: int
|
static int |
CL_PROGRAM_SOURCE
CType: int
|
Modifier and Type | Method and Description |
---|---|
int |
clBuildProgram(long program,
int deviceCount,
PointerBuffer devices,
String options,
BuildProgramCallback cb)
Interface to C language function:
int32_t (cl_program, uint32_t, cl_device_id * , const char * , void (*pfn_notify)(cl_program, void *user_data), void * ); |
long |
clCreateProgramWithBinary(long context,
int num_devices,
PointerBuffer device_list,
PointerBuffer lengths,
PointerBuffer binaries,
IntBuffer binary_status,
IntBuffer errcode_ret)
Interface to C language function:
cl_program (cl_context context, cl_uint num_devices, const cl_device_id * device_list, const size_t * lengths, unsigned const char * * binaries, cl_int * binary_status, cl_int * errcode_ret) |
long |
clCreateProgramWithSource(long context,
int count,
String[] strings,
PointerBuffer lengths,
IntBuffer errcode_ret)
Interface to C language function:
cl_program (cl_context context, cl_uint count, const char * * strings, const size_t * lengths, cl_int * errcode_ret) |
int |
clGetProgramBuildInfo(long program,
long device,
int param_name,
long param_value_size,
Buffer param_value,
PointerBuffer param_value_size_ret)
Interface to C language function:
cl_int (cl_program program, cl_device_id device, cl_program_build_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret) |
int |
clGetProgramInfo(long program,
int param_name,
long param_value_size,
Buffer param_value,
PointerBuffer param_value_size_ret)
Interface to C language function:
cl_int (cl_program program, cl_program_info param_name, size_t param_value_size, void * param_value, size_t * param_value_size_ret) |
int |
clReleaseProgram(long program)
Interface to C language function:
cl_int (cl_program program) |
int |
clRetainProgram(long program)
Interface to C language function:
cl_int (cl_program program) |
static final int CL_PROGRAM_REFERENCE_COUNT
static final int CL_BUILD_PROGRAM_FAILURE
static final int CL_PROGRAM_SOURCE
static final int CL_PROGRAM_BUILD_OPTIONS
static final int CL_PROGRAM_BINARIES
static final int CL_PROGRAM_CONTEXT
static final int CL_PROGRAM_BUILD_STATUS
static final int CL_BUILD_SUCCESS
static final int CL_BUILD_ERROR
static final int CL_PROGRAM_BINARY_SIZES
static final int CL_BUILD_IN_PROGRESS
static final int CL_BUILD_NONE
static final int CL_PROGRAM_BUILD_LOG
static final int CL_PROGRAM_NUM_DEVICES
static final int CL_PROGRAM_DEVICES
long clCreateProgramWithSource(long context, int count, String[] strings, PointerBuffer lengths, IntBuffer errcode_ret)
cl_program (cl_context context, cl_uint count, const char * * strings, const size_t * lengths, cl_int * errcode_ret)
lengths
- a direct only PointerBuffer
errcode_ret
- a direct only IntBuffer
long clCreateProgramWithBinary(long context, int num_devices, PointerBuffer device_list, PointerBuffer lengths, PointerBuffer binaries, IntBuffer binary_status, IntBuffer errcode_ret)
cl_program (cl_context context, cl_uint num_devices, const cl_device_id * device_list, const size_t * lengths, unsigned const char * * binaries, cl_int * binary_status, cl_int * errcode_ret)
device_list
- a direct only PointerBuffer
lengths
- a direct only PointerBuffer
binaries
- a direct only PointerBuffer
binary_status
- a direct only IntBuffer
errcode_ret
- a direct only IntBuffer
int clRetainProgram(long program)
cl_int (cl_program program)
int clReleaseProgram(long program)
cl_int (cl_program program)
int clGetProgramInfo(long program, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
cl_int (cl_program program, cl_program_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 clGetProgramBuildInfo(long program, long device, int param_name, long param_value_size, Buffer param_value, PointerBuffer param_value_size_ret)
cl_int (cl_program program, cl_device_id device, cl_program_build_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 clBuildProgram(long program, int deviceCount, PointerBuffer devices, String options, BuildProgramCallback cb)
int32_t (cl_program, uint32_t, cl_device_id * , const char * , void (*pfn_notify)(cl_program, void *user_data), void * );