|
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
|