cudaEventRecord: Records an event

Description Usage Arguments References See Also

Description

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

Usage

1
cudaEventRecord(event, stream)

Arguments

event

Event to record

stream

Stream in which to record event

References

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

See Also

cudaEventCreate cudaEventCreateWithFlags cudaEventQuery cudaEventSynchronize cudaEventDestroy cudaEventElapsedTime cudaStreamWaitEvent


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