Function cl_create_program_with_source

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

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.