Functions and structures for dealing with VPI events. More...
Go to the source code of this file.
Macros | |
Event-specific flags. | |
#define | VPI_EVENT_DISABLE_TIMESTAMP (1 << 18) |
disable time-stamping of event signaling for better performance. | |
Functions | |
VPIStatus | vpiEventCreate (uint32_t flags, VPIEvent *event) |
Create an event instance with the specified flags. More... | |
void | vpiEventDestroy (VPIEvent event) |
Destroy an event instance as well as all resources it owns. More... | |
VPIStatus | vpiEventCreateCudaEventWrapper (CUevent cudaEvent, VPIEvent *event) |
Create an event object by wrapping around an existing CUDA CUevent object. More... | |
VPIStatus | vpiEventRecord (VPIEvent event, VPIStream stream) |
Captures in the event the contents of the stream command queue at the time of this call. More... | |
VPIStatus | vpiEventSync (VPIEvent event) |
Blocks the calling thread until the event is signaled. More... | |
VPIStatus | vpiEventQuery (VPIEvent event) |
Queries the status of all work currently captured by the event. More... | |
VPIStatus | vpiEventElapsedTime (VPIEvent start, VPIEvent end, float *msec) |
Computes the elapsed time in (msec) between two completed events. More... | |
VPIStatus | vpiEventGetFlags (VPIEvent event, uint32_t *flags) |
Returns the event flags passed during event creation. More... | |
Functions and structures for dealing with VPI events.
Definition in file Event.h.