cuEventRecord: Records an event

Description Usage Arguments References See Also

Description

Records an event. If hStream is non-zero, the event is recorded after all preceding operations in hStream have been completed; otherwise, it is recorded after all preceding operations in the CUDA context have been completed. Since operation is asynchronous, cuEventQuery and/or cuEventSynchronize() must be used to determine when the event has actually been recorded.

Usage

1
cuEventRecord(hEvent, hStream)

Arguments

hEvent

Event to record

hStream

Stream to record event for

References

http://docs.nvidia.com/cuda/cuda-driver-api/index.html

See Also

cuEventCreate cuEventQuery cuEventSynchronize cuStreamWaitEvent cuEventDestroy cuEventElapsedTime


duncantl/RCUDA documentation built on May 15, 2019, 5:26 p.m.