[][src]Function open_cl_low_level::program::cl_create_program_with_source

pub unsafe fn cl_create_program_with_source(
    context: cl_context,
    src: &str
) -> Output<cl_program>

Low level helper function for calling the OpenCL FFI function clCreateProgramWithSource.

Safety

If the context or device is in an invalid state this function will cause undefined behavior.