hipstreamwaitevent Interface Reference#
Makes the specified compute stream wait for the specified event. More...
Public Member Functions | |
| integer(kind(hipsuccess)) function | hipstreamwaitevent_ (stream, event, flags) |
Detailed Description
Makes the specified compute stream wait for the specified event.
- Parameters
-
[in] stream - Stream to make wait [in] event - Event to wait on [in] flags - Parameters to control the operation
- Returns
hipSuccess,hipErrorInvalidHandle,hipErrorInvalidValue,hipErrorStreamCaptureIsolation
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.
Flags include: hipEventWaitDefault: Default event creation flag. hipEventWaitExternal: Wait is captured in the graph as an external event node when performing stream capture
This function only waits for commands in the current stream to complete. Notably, this function does not implicitly 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: