hipstreamquery Interface Reference

hipstreamquery Interface Reference#

HIPFORT API Reference: hipfort::hipstreamquery Interface Reference
hipfort::hipstreamquery Interface Reference

Return hipSuccess if all of the operations in the specified stream have completed, or hipErrorNotReady if not. More...

Public Member Functions

integer(kind(hipsuccess)) function hipstreamquery_ (stream)
 

Detailed Description

Return hipSuccess if all of the operations in the specified stream have completed, or hipErrorNotReady if not.

Parameters
[in]streamstream to query
Returns
hipSuccess, hipErrorNotReady, hipErrorInvalidHandle

This is thread-safe and returns a snapshot of the current state of the queue. However, if other host threads are sending work to the stream, the status may change immediately after the function is called. It is typically used for debug.

See also
hipStreamCreate, hipStreamCreateWithFlags, hipStreamCreateWithPriority, hipStreamWaitEvent, hipStreamSynchronize, hipStreamDestroy

Member Function/Subroutine Documentation

◆ hipstreamquery_()

integer(kind(hipsuccess)) function hipfort::hipstreamquery::hipstreamquery_ ( type(c_ptr), value  stream)

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