code: public static OpenCLKernel createKernel(OpenCLProgram _program, String _kernelName, List<OpenCLArgDescriptor> _args) {
        final OpenCLArgDescriptor[] argArray = _args.toArray(new OpenCLArgDescriptor[0]);
        final OpenCLKernel oclk = new OpenCLKernel().createKernelJNI(_program, _kernelName, argArray);
        for (final OpenCLArgDescriptor arg : argArray) {
           arg.kernel = oclk;
        }
        return oclk;
     }
docs: This method is used to create a new Kernel from JNI
  
  @param _program
  @param _kernelName
  @param _args
  @return