cudaError_t cudaEventQuery ( cudaEvent_t  event  ) 

Returns cudaSuccess if the event has actually been recorded, or cudaErrorNotReady if not. If cudaEventRecord() has not been called on this event, the function returns cudaErrorInvalidValue.

Parameters:
event - Event to query
Returns:
cudaSuccess, cudaErrorNotReady, cudaErrorInitializationError, cudaErrorPriorLaunchFailure, cudaErrorInvalidValue cudaErrorInvalidResourceHandle
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaEventCreate, cudaEventCreateWithFlags, cudaEventRecord, cudaEventSynchronize, cudaEventDestroy, cudaEventElapsedTime


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA