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_ptr pointer to memory to set the advice for [in] count size in bytes of the memory range [in] advice advice to be applied for the specified memory range [in] device device 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: