cudaError_t cudaEventCreate ( cudaEvent_t event  ) 

Creates an event object using cudaEventDefault.

Parameters:
event - Newly created event
Returns:
cudaSuccess, cudaErrorInitializationError, cudaErrorInvalidValue, cudaErrorLaunchFailure, cudaErrorMemoryAllocation
Note:
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