hipmemgetdefaultmempool Interface Reference#
hipfort::hipmemgetdefaultmempool Interface Reference
Returns the default memory pool for a given location and allocation type. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipmemgetdefaultmempool_ (mempool, location, mytype) |
Detailed Description
Returns the default memory pool for a given location and allocation type.
- Parameters
-
[out] memPool Returned memory pool [in] location location type for which to get the default memory pool, currently only hipMemLocationTypeDevice is supported [in] type allocation type for which to get the default memory pool, currently only hipMemAllocationTypePinned & hipMemAllocationTypeManaged are supported
- Returns
hipSuccess,hipErrorInvalidValue
Member Function/Subroutine Documentation
◆ hipmemgetdefaultmempool_()
| integer(kind(hipsuccess)) function hipfort::hipmemgetdefaultmempool::hipmemgetdefaultmempool_ | ( | type(c_ptr) | mempool, |
| type(hipmemlocation) | location, | ||
| integer(kind(hipmemallocationtypeinvalid)), value | mytype | ||
| ) |
The documentation for this interface was generated from the following file: