Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
type(CUmodule), | value | :: | hmod |
Module to unload |
Driver result code
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
.