pub unsafe extern "C" fn cuLibraryGetModule(
pMod: *mut CUmodule,
library: CUlibrary,
) -> CUresult
Expand description
\brief Returns a module handle
Returns in \p pMod the module handle associated with the current context located in library \p library. If module handle is not found, the call returns ::CUDA_ERROR_NOT_FOUND.
\param pMod - Returned module handle \param library - Library to retrieve module from
\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_VALUE, ::CUDA_ERROR_INVALID_HANDLE, ::CUDA_ERROR_NOT_FOUND, ::CUDA_ERROR_INVALID_CONTEXT, ::CUDA_ERROR_CONTEXT_IS_DESTROYED
\sa ::cuLibraryLoadData, ::cuLibraryLoadFromFile, ::cuLibraryUnload, ::cuModuleGetFunction