hipstreamsynchronize Interface Reference

hipstreamsynchronize Interface Reference#

HIPFORT API Reference: hipfort::hipstreamsynchronize Interface Reference
hipfort::hipstreamsynchronize Interface Reference

Waits for all commands in the stream to complete. More...

Public Member Functions

integer(kind(hipsuccess)) function hipstreamsynchronize_ (stream)
 

Detailed Description

Waits for all commands in the stream to complete.

Parameters
[in]stream- Stream identifier.
Returns
hipSuccess, hipErrorInvalidHandle

This command is host-synchronous : the host will block until all operations on the specified stream with its associated device are completed. On multiple device systems, the stream is associated with its device, no need to call hipSetDevice before this API.

This command follows standard null-stream semantics. Specifying the null stream will cause the command to wait for other streams on the same device to complete all pending operations.

This command honors the hipDeviceScheduleBlockingSync flag, which controls whether the wait is active or blocking.

See also
hipStreamCreate, hipStreamCreateWithFlags, hipStreamCreateWithPriority, hipStreamWaitEvent, hipStreamDestroy

Member Function/Subroutine Documentation

◆ hipstreamsynchronize_()

integer(kind(hipsuccess)) function hipfort::hipstreamsynchronize::hipstreamsynchronize_ ( type(c_ptr), value  stream)

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