cuModuleUnload_interface Interface

interface
private function cuModuleUnload_interface(hmod) result(cuResult)

Arguments

Type IntentOptional Attributes Name
type(CUmodule), value :: hmod

Module to unload

Return Value integer(kind=c_int)

Driver result code

Description

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.