cuda.bindings._v2.driver.module_unload#

cuda.bindings._v2.driver.module_unload(intptr_t hmod)#

Unloads a module.

Unloads a module hmod from the current context. Attempting to unload a module which was obtained from the Library Management API such as cuLibraryGetModule will return CUDA_ERROR_NOT_PERMITTED.

Parameters:

hmod (intptr_t) – Module to unload.

See also

cuModuleUnload