Uses of Class
org.jocl.cl_program
-
Uses of cl_program in org.jocl
Methods in org.jocl that return cl_programModifier and TypeMethodDescriptionstatic cl_programCL.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.private static cl_programCL.clCreateProgramWithBinaryNative(cl_context context, int num_devices, cl_device_id[] device_list, long[] lengths, byte[][] binaries, int[] binary_status, int[] errcode_ret) static cl_programCL.clCreateProgramWithBuiltInKernels(cl_context context, int num_devices, cl_device_id[] device_list, String kernel_names, int[] errcode_ret) Creates a program object for a context, and loads the information related to the built-in kernels into a program object.private static cl_programCL.clCreateProgramWithBuiltInKernelsNative(cl_context context, int num_devices, cl_device_id[] device_list, String kernel_names, int[] errcode_ret) static cl_programCL.clCreateProgramWithSource(cl_context context, int count, 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 thestringsarray into the program object.private static cl_programCL.clCreateProgramWithSourceNative(cl_context context, int count, String[] strings, long[] lengths, int[] errcode_ret) static cl_programCL.clLinkProgram(cl_context context, int num_devices, cl_device_id[] device_list, String options, int num_input_programs, cl_program[] input_programs, BuildProgramFunction pfn_notify, Object user_data, int[] errcode_ret) Links a set of compiled program objects and libraries for all the devices or a specific device(s) in the OpenCL context and creates an executable.private static cl_programCL.clLinkProgramNative(cl_context context, int num_devices, cl_device_id[] device_list, String options, int num_input_programs, cl_program[] input_programs, BuildProgramFunction pfn_notify, Object user_data, int[] errcode_ret) Methods in org.jocl with parameters of type cl_programModifier and TypeMethodDescriptionstatic intCL.clBuildProgram(cl_program program, int num_devices, cl_device_id[] device_list, String options, BuildProgramFunction pfn_notify, Object user_data) Builds (compiles and links) a program executable from the program source or binary.private static intCL.clBuildProgramNative(cl_program program, int num_devices, cl_device_id[] device_list, String options, BuildProgramFunction pfn_notify, Object user_data) static intCL.clCompileProgram(cl_program program, int num_devices, cl_device_id[] device_list, String options, int num_input_headers, cl_program[] input_headers, String[] header_include_names, BuildProgramFunction pfn_notify, Object user_data) Compiles a programs source for all the devices or a specific device(s) in the OpenCL context associated withprogram.private static intCL.clCompileProgramNative(cl_program program, int num_devices, cl_device_id[] device_list, String options, int num_input_headers, cl_program[] input_headers, String[] header_include_names, BuildProgramFunction pfn_notify, Object user_data) static cl_kernelCL.clCreateKernel(cl_program program, String kernel_name, int[] errcode_ret) Creates a kernal object.private static cl_kernelCL.clCreateKernelNative(cl_program program, String kernel_name, int[] errcode_ret) static intCL.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.private static intCL.clCreateKernelsInProgramNative(cl_program program, int num_kernels, cl_kernel[] kernels, int[] num_kernels_ret) static intCL.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.private static intCL.clGetProgramBuildInfoNative(cl_program program, cl_device_id device, int param_name, long param_value_size, Pointer param_value, long[] param_value_size_ret) static intCL.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.private static intCL.clGetProgramInfoNative(cl_program program, int param_name, long param_value_size, Pointer param_value, long[] param_value_size_ret) static cl_programCL.clLinkProgram(cl_context context, int num_devices, cl_device_id[] device_list, String options, int num_input_programs, cl_program[] input_programs, BuildProgramFunction pfn_notify, Object user_data, int[] errcode_ret) Links a set of compiled program objects and libraries for all the devices or a specific device(s) in the OpenCL context and creates an executable.private static cl_programCL.clLinkProgramNative(cl_context context, int num_devices, cl_device_id[] device_list, String options, int num_input_programs, cl_program[] input_programs, BuildProgramFunction pfn_notify, Object user_data, int[] errcode_ret) static intCL.clReleaseProgram(cl_program program) Decrements theprogramreference count.private static intCL.clReleaseProgramNative(cl_program program) static intCL.clRetainProgram(cl_program program) Increments theprogramreference count.private static intCL.clRetainProgramNative(cl_program program) voidBuildProgramFunction.function(cl_program program, Object user_data) The function that will be called.private static StringCL.obtainBuildLogs(cl_program program) Obtain a single String containing the build logs of the given program for all devices that are associated with the given program object.