Function hip_sys::hiprt::hipModuleLoad
source · pub unsafe extern "C" fn hipModuleLoad(
module: *mut *mut ihipModule_t,
fname: *const i8
) -> hipError_tExpand description
@} / /**
@defgroup Module Module Management @{ This section describes the module management functions of HIP runtime API.
/ /** @brief Loads code object from file into a hipModule_t
@param [in] fname @param [out] module
@warning File/memory resources allocated in this function are released only in hipModuleUnload.
@returns hipSuccess, hipErrorInvalidValue, hipErrorInvalidContext, hipErrorFileNotFound, hipErrorOutOfMemory, hipErrorSharedObjectInitFailed, hipErrorNotInitialized