hipmemgethandleforaddressrange Interface Reference

hipmemgethandleforaddressrange Interface Reference#

HIPFORT API Reference: hipfort::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]handlePtr to the handle where the fd or other types will be returned.
[in]dptrDevice ptr for which we get the handle.
[in]sizeSize of the address range.
[in]handleTypeType of the handle requested for the address range.
[in]flagsAny flags set regarding the handle requested.
Returns
hipSuccess if 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: