hiplibrarygetmodule Interface Reference#
hipfort::hiplibrarygetmodule Interface Reference
Get the module handle backing a library. More...
Public Member Functions | |
| integer(c_int) function | hiplibrarygetmodule_ (pmod, library) |
Detailed Description
Get the module handle backing a library.
Returns the hipModule_t that library was loaded into, so a library can be consumed by the module-based APIs
- Parameters
-
[out] pMod Pointer to receive the module handle. [in] library Input hip library handle to retrieve module from.
- Returns
hipSuccess,hipErrorInvalidValue,hipErrorInvalidResourceHandle,hipErrorNotFound
- Note
- The returned module is owned by
libraryand stays valid until hipLibraryUnload(). Do not release it with hipModuleUnload(), which returnshipErrorNotPermittedfor such a handle.
- See also
- hipLibraryLoadData, hipLibraryLoadFromFile, hipLibraryUnload, hipModuleGetFunction, hipModuleUnload
Member Function/Subroutine Documentation
◆ hiplibrarygetmodule_()
| integer(c_int) function hipfort::hiplibrarygetmodule::hiplibrarygetmodule_ | ( | type(c_ptr) | pmod, |
| type(c_ptr), value | library | ||
| ) |
The documentation for this interface was generated from the following file: