hipmemgetinfo Interface Reference#
hipfort::hipmemgetinfo Interface Reference
  Query memory info. More...
| Public Member Functions | |
| integer(kind(hipsuccess)) function | hipmemgetinfo_ (free, total) | 
Detailed Description
Query memory info.
Return snapshot of free memory, and total allocatable memory on the device.
Returns in *free a snapshot of the current free memory.
- Returns
- hipSuccess, hipErrorInvalidDevice, hipErrorInvalidValue
- Warning
- On HCC, the free memory only accounts for memory allocated by this process and may be optimistic.
Member Function/Subroutine Documentation
◆ hipmemgetinfo_()
| integer(kind(hipsuccess)) function hipfort::hipmemgetinfo::hipmemgetinfo_ | ( | integer(c_size_t) | free, | 
| integer(c_size_t) | total | ||
| ) | 
The documentation for this interface was generated from the following file: