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_command_queue |
CL.clCreateCommandQueue(cl_context context,
cl_device_id device,
long properties,
int[] errcode_ret) |
Deprecated.
|
private static cl_command_queue |
CL.clCreateCommandQueueNative(cl_context context,
cl_device_id device,
long properties,
int[] errcode_ret) |
|
static cl_command_queue |
CL.clCreateCommandQueueWithProperties(cl_context context,
cl_device_id device,
cl_queue_properties properties,
int[] errcode_ret) |
Create a host or device command-queue on a specific device.
|
private static cl_command_queue |
CL.clCreateCommandQueueWithPropertiesNative(cl_context context,
cl_device_id device,
cl_queue_properties properties,
int[] errcode_ret) |
|
static cl_context |
CL.clCreateContext(cl_context_properties properties,
int num_devices,
cl_device_id[] devices,
CreateContextFunction pfn_notify,
java.lang.Object user_data,
int[] errcode_ret) |
Creates an OpenCL context.
|
private static cl_context |
CL.clCreateContextNative(cl_context_properties properties,
int num_devices,
cl_device_id[] devices,
CreateContextFunction pfn_notify,
java.lang.Object user_data,
int[] errcode_ret) |
|
static cl_program |
CL.clCreateProgramWithBinary(cl_context context,
int num_devices,
cl_device_id[] device_list,
long[] lengths,
byte[][] binaries,
int[] binary_status,
int[] errcode_ret) |
Creates a program object for a context, and loads the binary bits specified by
binary into the program object.
|
private static cl_program |
CL.clCreateProgramWithBinaryNative(cl_context context,
int num_devices,
cl_device_id[] device_list,
long[] lengths,
byte[][] binaries,
int[] binary_status,
int[] errcode_ret) |
|
static cl_program |
CL.clCreateProgramWithBuiltInKernels(cl_context context,
int num_devices,
cl_device_id[] device_list,
java.lang.String kernel_names,
int[] errcode_ret) |
Creates a program object for a context, and loads the information related to the built-in kernels
into a program object.
|
private static cl_program |
CL.clCreateProgramWithBuiltInKernelsNative(cl_context context,
int num_devices,
cl_device_id[] device_list,
java.lang.String kernel_names,
int[] errcode_ret) |
|
static int |
CL.clCreateSubDevices(cl_device_id in_device,
cl_device_partition_property properties,
int num_devices,
cl_device_id[] out_devices,
int[] num_devices_ret) |
Creates an array of sub-devices that each reference a non-intersecting set of compute units within in_device .
|
private static int |
CL.clCreateSubDevicesNative(cl_device_id in_device,
cl_device_partition_property properties,
int num_devices,
cl_device_id[] out_devices,
int[] num_devices_ret) |
|
static int |
CL.clGetDeviceIDs(cl_platform_id platform,
long device_type,
int num_entries,
cl_device_id[] devices,
int[] num_devices) |
Obtain the list of devices available on a platform.
|
private static int |
CL.clGetDeviceIDsNative(cl_platform_id platform,
long device_type,
int num_entries,
cl_device_id[] devices,
int[] num_devices) |
|
static int |
CL.clGetDeviceInfo(cl_device_id device,
int param_name,
long param_value_size,
Pointer param_value,
long[] param_value_size_ret) |
Get information about an OpenCL device.
|
private static int |
CL.clGetDeviceInfoNative(cl_device_id device,
int param_name,
long param_value_size,
Pointer param_value,
long[] param_value_size_ret) |
|
static int |
CL.clGetKernelWorkGroupInfo(cl_kernel kernel,
cl_device_id device,
int param_name,
long param_value_size,
Pointer param_value,
long[] param_value_size_ret) |
Returns information about the kernel object that may be specific to a device.
|
private static int |
CL.clGetKernelWorkGroupInfoNative(cl_kernel kernel,
cl_device_id device,
int param_name,
long param_value_size,
Pointer param_value,
long[] param_value_size_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 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.clReleaseDevice(cl_device_id device) |
Decrements the device reference count.
|
private static int |
CL.clReleaseDeviceNative(cl_device_id device) |
|
static int |
CL.clRetainDevice(cl_device_id device) |
Increments the devices reference count.
|
private static int |
CL.clRetainDeviceNative(cl_device_id device) |
|