static int |
CL.clBuildProgram(cl_program program,
int num_devices,
cl_device_id[] device_list,
java.lang.String options,
BuildProgramFunction pfn_notify,
java.lang.Object user_data) |
Builds (compiles and links) a program executable from the program source or binary.
|
private static int |
CL.clBuildProgramNative(cl_program program,
int num_devices,
cl_device_id[] device_list,
java.lang.String options,
BuildProgramFunction pfn_notify,
java.lang.Object user_data) |
|
static int |
CL.clCompileProgram(cl_program program,
int num_devices,
cl_device_id[] device_list,
java.lang.String options,
int num_input_headers,
cl_program[] input_headers,
java.lang.String[] header_include_names,
BuildProgramFunction pfn_notify,
java.lang.Object user_data) |
Compiles a programs source for all the devices or a specific device(s) in the OpenCL context
associated with program .
|
private static int |
CL.clCompileProgramNative(cl_program program,
int num_devices,
cl_device_id[] device_list,
java.lang.String options,
int num_input_headers,
cl_program[] input_headers,
java.lang.String[] header_include_names,
BuildProgramFunction pfn_notify,
java.lang.Object user_data) |
|
static cl_kernel |
CL.clCreateKernel(cl_program program,
java.lang.String kernel_name,
int[] errcode_ret) |
Creates a kernal object.
|
private static cl_kernel |
CL.clCreateKernelNative(cl_program program,
java.lang.String kernel_name,
int[] errcode_ret) |
|
static int |
CL.clCreateKernelsInProgram(cl_program program,
int num_kernels,
cl_kernel[] kernels,
int[] num_kernels_ret) |
Creates kernel objects for all kernel functions in a program object.
|
private static int |
CL.clCreateKernelsInProgramNative(cl_program program,
int num_kernels,
cl_kernel[] kernels,
int[] num_kernels_ret) |
|
static int |
CL.clGetProgramBuildInfo(cl_program program,
cl_device_id device,
int param_name,
long param_value_size,
Pointer param_value,
long[] param_value_size_ret) |
Returns build information for each device in the program object.
|
private static int |
CL.clGetProgramBuildInfoNative(cl_program program,
cl_device_id device,
int param_name,
long param_value_size,
Pointer param_value,
long[] param_value_size_ret) |
|
static int |
CL.clGetProgramInfo(cl_program program,
int param_name,
long param_value_size,
Pointer param_value,
long[] param_value_size_ret) |
Returns information about the program object.
|
private static int |
CL.clGetProgramInfoNative(cl_program program,
int param_name,
long param_value_size,
Pointer param_value,
long[] param_value_size_ret) |
|
static cl_program |
CL.clLinkProgram(cl_context context,
int num_devices,
cl_device_id[] device_list,
java.lang.String options,
int num_input_programs,
cl_program[] input_programs,
BuildProgramFunction pfn_notify,
java.lang.Object user_data,
int[] errcode_ret) |
Links a set of compiled program objects and libraries for all the devices or a specific device(s) in
the OpenCL context and creates an executable.
|
private static cl_program |
CL.clLinkProgramNative(cl_context context,
int num_devices,
cl_device_id[] device_list,
java.lang.String options,
int num_input_programs,
cl_program[] input_programs,
BuildProgramFunction pfn_notify,
java.lang.Object user_data,
int[] errcode_ret) |
|
static int |
CL.clReleaseProgram(cl_program program) |
Decrements the program reference count.
|
private static int |
CL.clReleaseProgramNative(cl_program program) |
|
static int |
CL.clRetainProgram(cl_program program) |
Increments the program reference count.
|
private static int |
CL.clRetainProgramNative(cl_program program) |
|
void |
BuildProgramFunction.function(cl_program program,
java.lang.Object user_data) |
The function that will be called.
|
private static java.lang.String |
CL.obtainBuildLogs(cl_program program) |
Obtain a single String containing the build logs of the given program for
all devices that are associated with the given program object.
|