Modifier and Type | Method and Description |
---|---|
static cl_kernel |
CL.clCreateKernel(cl_program program,
java.lang.String kernel_name,
int[] errcode_ret)
Creates a kernal object.
|
Modifier and Type | Method and Description |
---|---|
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.
|
static int |
CL.clEnqueueNDRangeKernel(cl_command_queue command_queue,
cl_kernel kernel,
int work_dim,
long[] global_work_offset,
long[] global_work_size,
long[] local_work_size,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event)
Enqueues a command to execute a kernel on a device.
|
static int |
CL.clEnqueueTask(cl_command_queue command_queue,
cl_kernel kernel,
int num_events_in_wait_list,
cl_event[] event_wait_list,
cl_event event)
Deprecated.
As of OpenCL 2.0
|
static int |
CL.clGetKernelArgInfo(cl_kernel kernel,
int arg_indx,
int param_name,
long param_value_size,
Pointer param_value,
long[] param_value_size_ret)
Returns information about the arguments of a kernel.
|
static int |
CL.clGetKernelInfo(cl_kernel kernel,
int param_name,
long param_value_size,
Pointer param_value,
long[] param_value_size_ret)
Returns information about the kernel object.
|
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.
|
static int |
CL.clReleaseKernel(cl_kernel kernel)
Decrements the kernel reference count.
|
static int |
CL.clRetainKernel(cl_kernel kernel)
Increments the kernel object reference count.
|
static int |
CL.clSetKernelArg(cl_kernel kernel,
int arg_index,
long arg_size,
Pointer arg_value)
Used to set the argument value for a specific argument of a kernel.
|
static int |
CL.clSetKernelArgSVMPointer(cl_kernel kernel,
int arg_index,
Pointer arg_value)
Used to set a SVM pointer as the argument value for a specific argument of a kernel.
|
static int |
CL.clSetKernelExecInfo(cl_kernel kernel,
int param_name,
long param_value_size,
Pointer param_value)
Used to pass additional information other than argument values to a kernel.
|