|
HIP: Heterogenous-computing Interface for Portability
|
Public Member Functions | |
| ihipEvent_t (unsigned flags) | |
| void | attachToCompletionFuture (const hc::completion_future *cf, hipStream_t stream, ihipEventType_t eventType) |
|
std::pair< hipEventStatus_t, uint64_t > | refreshEventStatus () |
| ihipEventData_t | locked_copyCrit () |
| ihipEventCritical_t & | criticalData () |
Public Attributes | |
| unsigned | _flags |
Friends | |
| hipError_t | hipEventRecord (hipEvent_t event, hipStream_t stream) |
| Record an event in the specified stream. More... | |
|
friend |
Record an event in the specified stream.
| [in] | event | event to record. |
| [in] | stream | stream in which to record event. |
hipEventQuery() or hipEventSynchronize() must be used to determine when the event transitions from "recording" (after hipEventRecord() is called) to "recorded" (when timestamps are set, if requested).
Events which are recorded in a non-NULL stream will transition to from recording to "recorded" state when they reach the head of the specified stream, after all previous commands in that stream have completed executing.
If hipEventRecord() has been previously called on this event, then this call will overwrite any existing state in event.
If this function is called on a an event that is currently being recorded, results are undefined
1.8.5