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] stream stream to make wait. [in] event event to wait on [in] flags control 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: