cuEventCreate: Creates an event

Description Usage Arguments Value References See Also

Description

Creates an event *phEvent with the flags specified via Flags. Valid flags include: - CU_EVENT_DEFAULT: Default event creation flag. - CU_EVENT_BLOCKING_SYNC: Specifies that the created event should use blocking synchronization. A CPU thread that uses cuEventSynchronize() to wait on an event created with this flag will block until the event has actually been recorded. - CU_EVENT_DISABLE_TIMING: Specifies that the created event does not need to record timing data. Events created with this flag specified and the CU_EVENT_BLOCKING_SYNC flag not specified will provide the best performance when used with cuStreamWaitEvent() and cuEventQuery(). - CU_EVENT_INTERPROCESS: Specifies that the created event may be used as an interprocess event by cuIpcGetEventHandle(). CU_EVENT_INTERPROCESS must be specified along with CU_EVENT_DISABLE_TIMING.

Usage

1

Arguments

Flags

Event creation flags

Value

phEvent

References

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

See Also

cuEventRecord cuEventQuery cuEventSynchronize cuEventDestroy cuEventElapsedTime


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