hipdeviceflushgpudirectrdmawrites Interface Reference

hipdeviceflushgpudirectrdmawrites Interface Reference#

hipFORT API Reference: hipfort::hipdeviceflushgpudirectrdmawrites Interface Reference
hipfort::hipdeviceflushgpudirectrdmawrites Interface Reference

Blocks until remote writes are visible to the specified scope. More...

Public Member Functions

integer(c_int) function hipdeviceflushgpudirectrdmawrites_ (target, scope)
 

Detailed Description

Blocks until remote writes are visible to the specified scope.

Blocks until GPUDirect RDMA writes to the target device, issued by a third-party device such as an RDMA-capable NIC, are visible to the specified scope. This is a host-ordered visibility barrier on inbound remote writes; it does not synchronize with any stream or kernel.

If scope is at or within the scope reported by hipDeviceAttributeGPUDirectRDMAWritesOrdering, the writes are already ordered by the hardware and the call is a no-op.

Support is reported by hipDeviceAttributeGPUDirectRDMAFlushWritesOptions. The call returns hipErrorNotSupported when that bitmask does not contain hipFlushGPUDirectRDMAWritesOptionHost.

Parameters
[in]targetThe target of the operation, see hipFlushGPUDirectRDMAWritesTarget
[in]scopeThe scope of the operation, see hipFlushGPUDirectRDMAWritesScope
Returns
hipSuccess, hipErrorInvalidValue, hipErrorNotSupported

Member Function/Subroutine Documentation

◆ hipdeviceflushgpudirectrdmawrites_()

integer(c_int) function hipfort::hipdeviceflushgpudirectrdmawrites::hipdeviceflushgpudirectrdmawrites_ ( integer(c_int), value  target,
integer(c_int), value  scope 
)

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