cudaEventCreateWithFlags: Creates an event object with the specified flags

Description Usage Arguments Value References See Also

Description

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.

Usage

1

Arguments

flags

Flags for new event

Value

event

References

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

See Also

cudaEventCreate cudaEventSynchronize cudaEventDestroy cudaEventElapsedTime cudaStreamWaitEvent


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