cuda.bindings._v2.driver.module_unload#
- cuda.bindings._v2.driver.module_unload(intptr_t hmod)#
Unloads a module.
Unloads a module
hmodfrom the current context. Attempting to unload a module which was obtained from the Library Management API such ascuLibraryGetModulewill returnCUDA_ERROR_NOT_PERMITTED.- Parameters:
hmod (intptr_t) – Module to unload.
See also
cuModuleUnload