# Uses of Class
org.lwjgl.opencl.CLKernel

Packages that use CLKernel
Package
Description
org.lwjgl.opencl

## Uses of CLKernel in org.lwjgl.opencl

Methods in org.lwjgl.opencl that return CLKernel
Modifier and Type
Method
Description
`static CLKernel`
CL10.`clCreateKernel(CLProgram program, CharSequence kernel_name, IntBuffer errcode_ret)`
Overloads clCreateKernel.
`static CLKernel`
CL10.`clCreateKernel(CLProgram program, ByteBuffer kernel_name, IntBuffer errcode_ret)`
`CLKernel[]`
CLProgram.`createKernelsInProgram()`
Creates kernel objects for all kernels functions in this program.
`CLKernel`
CLProgram.`getCLKernel(long id)`
Returns a CLKernel associated with this program.
`CLKernel`
CLKernel.`setArg(int index, byte value)`
Sets a kernel argument at the specified index to the specified byte value.
`CLKernel`
CLKernel.`setArg(int index, double value)`
Sets a kernel argument at the specified index to the specified double value.
`CLKernel`
CLKernel.`setArg(int index, float value)`
Sets a kernel argument at the specified index to the specified float value.
`CLKernel`
CLKernel.`setArg(int index, int value)`
Sets a kernel argument at the specified index to the specified int value.
`CLKernel`
CLKernel.`setArg(int index, long value)`
Sets a kernel argument at the specified index to the specified long value.
`CLKernel`
CLKernel.`setArg(int index, short value)`
Sets a kernel argument at the specified index to the specified byte value.
`CLKernel`
CLKernel.`setArg(int index, org.lwjgl.opencl.CLObject value)`
Sets a kernel argument at the specified index to the specified pointer value.
`CLKernel`
CLKernel.`setArgSize(int index, long size)`
Sets the size of a __local kernel argument at the specified index.
Methods in org.lwjgl.opencl with parameters of type CLKernel
Modifier and Type
Method
Description
`static int`
CL10.`clEnqueueNDRangeKernel(CLCommandQueue command_queue, CLKernel kernel, int work_dim, PointerBuffer global_work_offset, PointerBuffer global_work_size, PointerBuffer local_work_size, PointerBuffer event_wait_list, PointerBuffer event)`
`static int`
CL10.`clEnqueueTask(CLCommandQueue command_queue, CLKernel kernel, PointerBuffer event_wait_list, PointerBuffer event)`
`static int`
CL12.`clGetKernelArgInfo(CLKernel kernel, int arg_indx, int param_name, ByteBuffer param_value, PointerBuffer param_value_size_ret)`
`static int`
CL10.`clGetKernelInfo(CLKernel kernel, int param_name, ByteBuffer param_value, PointerBuffer param_value_size_ret)`
`static int`
KHRSubgroups.`clGetKernelSubGroupInfoKHR(CLKernel kernel, CLDevice device, int param_name, ByteBuffer input_value, ByteBuffer param_value, PointerBuffer param_value_size_ret)`
`static int`
CL10.`clGetKernelWorkGroupInfo(CLKernel kernel, CLDevice device, int param_name, ByteBuffer param_value, PointerBuffer param_value_size_ret)`
`static int`
CL10.`clReleaseKernel(CLKernel kernel)`
`static int`
CL10.`clRetainKernel(CLKernel kernel)`
`static int`
CL10.`clSetKernelArg(CLKernel kernel, int arg_index, long arg_value_arg_size)`
`static int`
CL10.`clSetKernelArg(CLKernel kernel, int arg_index, ByteBuffer arg_value)`
`static int`
CL10.`clSetKernelArg(CLKernel kernel, int arg_index, DoubleBuffer arg_value)`
`static int`
CL10.`clSetKernelArg(CLKernel kernel, int arg_index, FloatBuffer arg_value)`
`static int`
CL10.`clSetKernelArg(CLKernel kernel, int arg_index, IntBuffer arg_value)`
`static int`
CL10.`clSetKernelArg(CLKernel kernel, int arg_index, LongBuffer arg_value)`
`static int`
CL10.`clSetKernelArg(CLKernel kernel, int arg_index, ShortBuffer arg_value)`
`static int`
CL10.`clSetKernelArg(CLKernel kernel, int arg_index, org.lwjgl.opencl.CLObject arg_value)`
Overloads clSetKernelArg.