Skip to main content

cuModuleLoadDataEx

Function cuModuleLoadDataEx 

Source
pub unsafe extern "C" fn cuModuleLoadDataEx(
    module: *mut CUmodule,
    image: *const c_void,
    numOptions: c_uint,
    options: *mut CUjit_option,
    optionValues: *mut *mut c_void,
) -> CUresult
Expand description

Load a module’s data with options.

Takes a pointer image and loads the corresponding module module into the current context. The image may be a cubin or fatbin as output by nvcc, or a NULL-terminated PTX, either as output by nvcc or hand-written, or Tile IR data.

§Parameters

  • module: Returned module.
  • image: Module data to load.
  • numOptions: Number of options.
  • options: Options for JIT.
  • optionValues: Option values for JIT.