hipmemgetdefaultmempool Interface Reference

hipmemgetdefaultmempool Interface Reference#

HIPFORT API Reference: hipfort::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]memPoolReturned memory pool
[in]locationlocation type for which to get the default memory pool, currently only hipMemLocationTypeDevice is supported
[in]typeallocation 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: