hipmemgethandleforaddressrange Interface Reference#
hipfort::hipmemgethandleforaddressrange Interface Reference
Returns a handle for the address range requested. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipmemgethandleforaddressrange_ (handle, dptr, mysize, handletype, flags) |
Detailed Description
Returns a handle for the address range requested.
This function returns a handle to a device pointer created using either hipMalloc set of APIs or through hipMemAddressReserve (as long as the ptr is mapped).
- Parameters
-
[out] handle Ptr to the handle where the fd or other types will be returned. [in] dptr Device ptr for which we get the handle. [in] size Size of the address range. [in] handleType Type of the handle requested for the address range. [in] flags Any flags set regarding the handle requested.
- Returns
hipSuccessif the kernel is launched successfully, otherwise an appropriate error code.
Member Function/Subroutine Documentation
◆ hipmemgethandleforaddressrange_()
| integer(kind(hipsuccess)) function hipfort::hipmemgethandleforaddressrange::hipmemgethandleforaddressrange_ | ( | type(c_ptr), value | handle, |
| type(c_ptr), value | dptr, | ||
| integer(c_size_t), value | mysize, | ||
| integer(kind(hipmemrangehandletypedmabuffd)), value | handletype, | ||
| integer(c_int64_t), value | flags | ||
| ) |
The documentation for this interface was generated from the following file: