cudaError_t cudaEventCreateWithFlags ( cudaEvent_t event,
int  flags 
)

Creates an event object with the specified flags.

Valid flags include: cudaEventDefault, cudaEventBlockingSync

Parameters:
event - Newly created event
flags - Flags for new event
Returns:
cudaSuccess, cudaErrorInitializationError, cudaErrorPriorLaunchFailure, cudaErrorInvalidValue, cudaErrorMemoryAllocation
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaEventCreate, cudaEventRecord, cudaEventQuery, cudaEventSynchronize, cudaEventDestroy, cudaEventElapsedTime


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA