hipmoduleunload Interface Reference

hipmoduleunload Interface Reference#

hipFORT API Reference: hipfort::hipmoduleunload Interface Reference
hipfort::hipmoduleunload Interface Reference

Frees the module. More...

Public Member Functions

integer(c_int) function hipmoduleunload_ (mymodule)
 

Detailed Description

Frees the module.

Parameters
[in]moduleModule to free
Returns
hipSuccess, hipErrorInvalidResourceHandle, hipErrorNotFound, hipErrorNotPermitted

The module is freed, and the code objects associated with it are destroyed.

Note
Returns hipErrorNotPermitted if module was obtained from hipLibraryGetModule(). Such a module is owned by its library and should be released with hipLibraryUnload() instead.
See also
hipLibraryGetModule, hipLibraryUnload

Member Function/Subroutine Documentation

◆ hipmoduleunload_()

integer(c_int) function hipfort::hipmoduleunload::hipmoduleunload_ ( type(c_ptr), value  mymodule)

The documentation for this interface was generated from the following file: