horacio9573.no-ip.org Open in urlscan Pro
176.58.89.216  Public Scan

URL: http://horacio9573.no-ip.org/cuda/group__CUDART__EVENT_ga324d5ce3fbf46899b15e5e42ff9cfa5.html
Submission: On November 03 via manual from US — Scanned from NO

Form analysis 0 forms found in the DOM

Text Content

 * Main Page
 * Modules
 * Data Structures
 * Related Pages

Event Management

cudaEventCreate cudaEventCreateWithFlags cudaEventDestroy cudaEventElapsedTime
cudaEventQuery cudaEventRecord cudaEventSynchronize

cudaError_t cudaEventRecord ( cudaEvent_t  event, cudaStream_t  stream = 0  )

Records an event. If stream is non-zero, the event is recorded after all
preceding operations in stream have been completed; otherwise, it is recorded
after all preceding operations in the CUDA context have been completed. Since
operation is asynchronous, cudaEventQuery() and/or cudaEventSynchronize() must
be used to determine when the event has actually been recorded.

If cudaEventRecord() has previously been called on event, then this call will
overwrite any existing state in event. Any subsequent calls which examine the
status of event will only examine the completion of this most recent call to
cudaEventRecord().



Parameters:

event - Event to record stream - Stream in which to record event

Returns:cudaSuccess, cudaErrorInvalidValue, cudaErrorInitializationError,
cudaErrorInvalidResourceHandle, cudaErrorLaunchFailure Note:Note that this
function may also return error codes from previous, asynchronous launches. See
also:cudaEventCreate (C API), cudaEventCreateWithFlags, cudaEventQuery,
cudaEventSynchronize, cudaEventDestroy, cudaEventElapsedTime,
cudaStreamWaitEvent



--------------------------------------------------------------------------------

Generated by Doxygen for NVIDIA CUDA Library