Uses of Class
org.jocl.cl_program

Uses of cl_program in org.jocl
 

Methods in org.jocl that return cl_program
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.
static cl_program CL.clCreateProgramWithSource(cl_context context, int count, java.lang.String[] strings, long[] lengths, int[] errcode_ret)
           Creates a program object for a context, and loads the source code specified by the text strings in the strings array into the program object.
 

Methods in org.jocl with parameters of type cl_program
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.
static cl_kernel CL.clCreateKernel(cl_program program, java.lang.String kernel_name, int[] errcode_ret)
           Creates a kernal object.
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.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.
static int CL.clGetProgramInfo(cl_program program, int param_name, long param_value_size, Pointer param_value, long[] param_value_size_ret)
           Returns information about the program object.
static int CL.clReleaseProgram(cl_program program)
           Decrements the program reference count.
static int CL.clRetainProgram(cl_program program)
           Increments the program reference count.
 void BuildProgramFunction.function(cl_program program, java.lang.Object user_data)
          The function that will be called.