hipmemmap Interface Reference

hipmemmap Interface Reference#

HIPFORT API Reference: hipfort::hipmemmap Interface Reference
hipfort::hipmemmap Interface Reference

Maps an allocation handle to a reserved virtual address range. More...

Public Member Functions

integer(kind(hipsuccess)) function hipmemmap_ (ptr, mysize, offset, handle, flags)
 

Detailed Description

Maps an allocation handle to a reserved virtual address range.

Parameters
[in]ptr- address where the memory will be mapped.
[in]size- size of the mapping.
[in]offset- offset into the memory, currently must be zero.
[in]handle- memory allocation to be mapped.
[in]flags- currently unused, must be zero.
Returns
hipSuccess, hipErrorInvalidValue, hipErrorNotSupported
Warning
This API is marked as Beta. While this feature is complete, it can change and might have outstanding issues.
Note
This API is implemented on Linux and is under development on Microsoft Windows.

Member Function/Subroutine Documentation

◆ hipmemmap_()

integer(kind(hipsuccess)) function hipfort::hipmemmap::hipmemmap_ ( type(c_ptr), value  ptr,
integer(c_size_t), value  mysize,
integer(c_size_t), value  offset,
type(c_ptr), value  handle,
integer(c_int64_t), value  flags 
)

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