cudaError_t cudaEventCreate ( cudaEvent_t event,
unsigned int  flags 

Creates an event object with the specified flags. Valid flags include:

event - Newly created event
flags - Flags for new event
cudaSuccess, cudaErrorInitializationError, cudaErrorInvalidValue, cudaErrorLaunchFailure, cudaErrorMemoryAllocation
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaEventCreate (C API), cudaEventCreateWithFlags, cudaEventRecord, cudaEventQuery, cudaEventSynchronize, cudaEventDestroy, cudaEventElapsedTime, cudaStreamWaitEvent

Generated by Doxygen for NVIDIA CUDA Library  NVIDIA