Skip to main content

module_load_data

Function module_load_data 

Source
pub fn module_load_data(image: *const c_void) -> Result<CUmodule, GpuError>
Expand description

Load a cubin/fatbin/PTX image from a memory buffer. The buffer must outlive the returned CUmodule for the duration of any pending kernel launch — the driver may keep references to embedded strings.