This page contains proposed changes for a future release of ROCm. Read the latest Linux release of ROCm documentation for your production environments.

hipstreamwaitevent Interface Reference

hipstreamwaitevent Interface Reference#

HIPFORT API Reference: hipfort::hipstreamwaitevent Interface Reference
hipfort::hipstreamwaitevent Interface Reference

Make the specified compute stream wait for an event. More...

Public Member Functions

integer(kind(hipsuccess)) function hipstreamwaitevent_ (stream, event, flags)
 

Detailed Description

Make the specified compute stream wait for an event.

Parameters
[in]streamstream to make wait.
[in]eventevent to wait on
[in]flagscontrol operation [must be 0]
Returns
hipSuccess, hipErrorInvalidHandle

This function inserts a wait operation into the specified stream. All future work submitted to stream will wait until event reports completion before beginning execution.

This function only waits for commands in the current stream to complete. Notably,, this function does not impliciy wait for commands in the default stream to complete, even if the specified stream is created with hipStreamNonBlocking = 0.

See also
hipStreamCreate, hipStreamCreateWithFlags, hipStreamCreateWithPriority, hipStreamSynchronize, hipStreamDestroy

Member Function/Subroutine Documentation

◆ hipstreamwaitevent_()

integer(kind(hipsuccess)) function hipfort::hipstreamwaitevent::hipstreamwaitevent_ ( type(c_ptr), value  stream,
type(c_ptr), value  event,
integer(c_int), value  flags 
)

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