hiplibrarygetmanaged Interface Reference#
hipfort::hiplibrarygetmanaged Interface Reference
Get host pointer to a __managed__ variable defined in a library.
More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hiplibrarygetmanaged_ (dptr, bytes, library, name) |
Detailed Description
Get host pointer to a __managed__ variable defined in a library.
Returns the host-accessible managed pointer and size of the named managed symbol within the library's code object. Mirrors CUDA's cuLibraryGetManaged / cudaLibraryGetManaged. Either dptr or bytes (but not both) may be NULL. Returns hipErrorNotFound if the symbol does not exist or is not a __managed__ variable.
- Parameters
-
[out] dptr Pointer to receive the managed host pointer, may be NULL. [out] bytes Pointer to receive the size in bytes, may be NULL. [in] library Input hip library handle. [in] name Name of the managed symbol to look up.
- Returns
hipSuccess,hipErrorInvalidValue,hipErrorInvalidResourceHandle,hipErrorNotFound
Member Function/Subroutine Documentation
◆ hiplibrarygetmanaged_()
| integer(kind(hipsuccess)) function hipfort::hiplibrarygetmanaged::hiplibrarygetmanaged_ | ( | type(c_ptr) | dptr, |
| type(c_ptr), value | bytes, | ||
| type(c_ptr), value | library, | ||
| type(c_ptr), value | name | ||
| ) |
The documentation for this interface was generated from the following file: