pub fn create_kernels_in_program(
    program: cl_program
) -> Result<Vec<cl_kernel>, cl_int>
Expand description

Create OpenCL kernel objects for all kernel functions in a program.
Calls clCreateKernelsInProgram to create OpenCL kernel objects.

  • program - a valid OpenCL program.

returns a Result containing the new OpenCL kernel objects or the error code from the OpenCL C API function.