Function ocl_core::create_build_program
source · pub fn create_build_program<C, D>(
context: C,
src_strings: &[CString],
device_ids: Option<&[D]>,
cmplr_opts: &CString
) -> Result<Program>where
C: ClContextPtr,
D: ClDeviceIdPtr + Debug,
Expand description
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.