Skip to main content

PFN_cuLibraryLoadData

Type Alias PFN_cuLibraryLoadData 

Source
pub type PFN_cuLibraryLoadData = unsafe extern "C" fn(library: *mut CUlibrary, code: *const c_void, jit_options: *mut c_int, jit_option_values: *mut *mut c_void, num_jit_options: c_uint, library_options: *mut c_int, library_option_values: *mut *mut c_void, num_library_options: c_uint) -> CUresult;
Expand description

cuLibraryLoadData — context-independent module load (CUDA 12.0+).

The “JIT options” and “library options” are each a parallel pair of CUjit_option / CUlibraryOption arrays with matching void** values. For v0.1 we only expose the no-options call shape (pass 0 / null for counts and arrays).