hipdevicegetdefaultmempool Interface Reference

hipdevicegetdefaultmempool Interface Reference#

HIPFORT API Reference: hipfort::hipdevicegetdefaultmempool Interface Reference
hipfort::hipdevicegetdefaultmempool Interface Reference

Returns the default memory pool of the specified device. More...

Public Member Functions

integer(kind(hipsuccess)) function hipdevicegetdefaultmempool_ (mem_pool, device)
 

Detailed Description

Returns the default memory pool of the specified device.

Parameters
[out]mem_poolDefault memory pool to return
[in]deviceDevice index for query the default memory pool
Returns
hipSuccess, hipErrorInvalidDevice, hipErrorInvalidValue, hipErrorNotSupported
See also
hipDeviceGetDefaultMemPool, hipMallocAsync, hipMemPoolTrimTo, hipMemPoolGetAttribute, hipDeviceSetMemPool, hipMemPoolSetAttribute, hipMemPoolSetAccess, hipMemPoolGetAccess
Warning
This API is marked as Beta. While this feature is complete, it can change and might have outstanding issues.

Member Function/Subroutine Documentation

◆ hipdevicegetdefaultmempool_()

integer(kind(hipsuccess)) function hipfort::hipdevicegetdefaultmempool::hipdevicegetdefaultmempool_ ( type(c_ptr)  mem_pool,
integer(c_int), value  device 
)

The documentation for this interface was generated from the following file: