Function rcudnn::cudaEventCreate [−][src]
pub unsafe extern "C" fn cudaEventCreate(
event: *mut *mut CUevent_st
) -> cudaError
Expand description
\brief Creates an event object
Creates an event object for the current device using ::cudaEventDefault.
\param event - Newly created event
\return ::cudaSuccess, ::cudaErrorInvalidValue, ::cudaErrorLaunchFailure, ::cudaErrorMemoryAllocation \notefnerr \note_init_rt \note_callback
\sa \ref ::cudaEventCreate(cudaEvent_t*, unsigned int) “cudaEventCreate (C++ API)”, ::cudaEventCreateWithFlags, ::cudaEventRecord, ::cudaEventQuery, ::cudaEventSynchronize, ::cudaEventDestroy, ::cudaEventElapsedTime, ::cudaStreamWaitEvent, ::cuEventCreate