cudaError_t cudaEventDestroy ( cudaEvent_t  event  ) 

Destroys the event specified by event.

In the case that event has been recorded but has not yet been completed when cudaEventDestroy() is called, the function will return immediately and the resources associated with event will be released automatically once the device has completed event.

Parameters:
event - Event to destroy
Returns:
cudaSuccess, cudaErrorInitializationError, cudaErrorInvalidValue, cudaErrorLaunchFailure
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaEventCreate (C API), cudaEventCreateWithFlags, cudaEventQuery, cudaEventSynchronize, cudaEventRecord, cudaEventElapsedTime


Generated by Doxygen for NVIDIA CUDA Library  NVIDIA