Description Usage Arguments Value References See Also
Creates an event object with the specified flags. Valid flags include:
- cudaEventDefault
: Default event creation flag.
- cudaEventBlockingSync
: Specifies that event should use blocking
synchronization. A host thread that uses cudaEventSynchronize
() to wait
on an event created with this flag will block until the event actually
completes.
- cudaEventDisableTiming
: Specifies that the created event does not need
to record timing data. Events created with this flag specified and
the cudaEventBlockingSync
flag not specified will provide the best
performance when used with cudaStreamWaitEvent
() and cudaEventQuery
().
- cudaEventInterprocess
: Specifies that the created event may be used as an
interprocess event by cudaIpcGetEventHandle
(). cudaEventInterprocess
must
be specified along with cudaEventDisableTiming
.
1 | cudaEventCreateWithFlags(flags)
|
flags |
Flags for new event |
event
http://docs.nvidia.com/cuda/cuda-driver-api/index.html
cudaEventCreate
cudaEventSynchronize
cudaEventDestroy
cudaEventElapsedTime
cudaStreamWaitEvent
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.