Function ocl_core::create_build_program [] [src]

pub fn create_build_program<D: ClDeviceIdPtr + Debug>(context: &Context,
                                                      src_strings: &[CString],
                                                      cmplr_opts: &CString,
                                                      device_ids: &[D])
                                                      -> OclResult<Program>

Creates, builds, and returns a new program pointer from src_strings.

TODO: Break out create and build parts into requisite functions then call from here.