# Uses of Class org.lwjgl.opencl.CLKernel (LWJGL API)
Date: 2015-07-28

## Uses of Class
org.lwjgl.opencl.CLKernel

Packages that use CLKernel
org.lwjgl.opencl

Uses of CLKernel in org.lwjgl.opencl

Methods in org.lwjgl.opencl that return CLKernel
`static CLKernel` `CL10.clCreateKernel(CLProgram program, java.nio.ByteBuffer kernel_name, java.nio.IntBuffer errcode_ret)`
`static CLKernel` `CL10.clCreateKernel(CLProgram program, java.lang.CharSequence kernel_name, java.nio.IntBuffer errcode_ret)` Overloads clCreateKernel.
`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, org.lwjgl.opencl.CLObject value)` Sets a kernel argument at the specified index to the specified pointer 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.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
`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, java.nio.ByteBuffer param_value, PointerBuffer param_value_size_ret)`
`static int` `CL10.clGetKernelInfo(CLKernel kernel, int param_name, java.nio.ByteBuffer param_value, PointerBuffer param_value_size_ret)`
`static int` `KHRSubgroups.clGetKernelSubGroupInfoKHR(CLKernel kernel, CLDevice device, int param_name, java.nio.ByteBuffer input_value, java.nio.ByteBuffer param_value, PointerBuffer param_value_size_ret)`
`static int` `CL10.clGetKernelWorkGroupInfo(CLKernel kernel, CLDevice device, int param_name, java.nio.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, java.nio.ByteBuffer arg_value)`
`static int` `CL10.clSetKernelArg(CLKernel kernel, int arg_index, org.lwjgl.opencl.CLObject arg_value)` Overloads clSetKernelArg.
`static int` `CL10.clSetKernelArg(CLKernel kernel, int arg_index, java.nio.DoubleBuffer arg_value)`
`static int` `CL10.clSetKernelArg(CLKernel kernel, int arg_index, java.nio.FloatBuffer arg_value)`
`static int` `CL10.clSetKernelArg(CLKernel kernel, int arg_index, java.nio.IntBuffer arg_value)`
`static int` `CL10.clSetKernelArg(CLKernel kernel, int arg_index, long arg_value_arg_size)`
`static int` `CL10.clSetKernelArg(CLKernel kernel, int arg_index, java.nio.LongBuffer arg_value)`
`static int` `CL10.clSetKernelArg(CLKernel kernel, int arg_index, java.nio.ShortBuffer arg_value)`

Copyright © 2002-2009 lwjgl.org. All Rights Reserved.