CUresult cuEventCreate ( CUevent phEvent,
unsigned int  Flags 
)

Creates an event *phEvent with the flags specified via Flags. Valid flags include:

Parameters:
phEvent - Returns newly created event
Flags - Event creation flags
Returns:
CUDA_SUCCESS, CUDA_ERROR_DEINITIALIZED, CUDA_ERROR_NOT_INITIALIZED, CUDA_ERROR_INVALID_CONTEXT, CUDA_ERROR_INVALID_VALUE, CUDA_ERROR_OUT_OF_MEMORY
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cuEventRecord, cuEventQuery, cuEventSynchronize, cuEventDestroy, cuEventElapsedTime


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA