hipmemadvise Interface Reference

hipmemadvise Interface Reference#

HIPFORT API Reference: hipfort::hipmemadvise Interface Reference
hipfort::hipmemadvise Interface Reference

Advise about the usage of a given memory range to HIP. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemadvise_ (dev_ptr, count, advice, device)
 

Detailed Description

Advise about the usage of a given memory range to HIP.

Parameters
[in]dev_ptrpointer to memory to set the advice for
[in]countsize in bytes of the memory range
[in]adviceadvice to be applied for the specified memory range
[in]devicedevice to apply the advice for
Returns
hipSuccess, hipErrorInvalidValue

Member Function/Subroutine Documentation

◆ hipmemadvise_()

integer(kind(hipsuccess)) function hipfort::hipmemadvise::hipmemadvise_ ( type(c_ptr), value  dev_ptr,
integer(c_size_t), value  count,
integer(kind(hipmemadvisesetreadmostly)), value  advice,
integer(c_int), value  device 
)

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