pub unsafe extern "C" fn cudaEventCreate(
event: *mut cudaEvent_t,
) -> cudaError_tExpand description
Creates an event object
Creates an event object for the current device using ::cudaEventDefault.
§Return value
::cudaSuccess, ::cudaErrorInvalidValue, ::cudaErrorLaunchFailure, ::cudaErrorMemoryAllocation
Note: _init_rt
Note: _callback
See also: ::cudaEventCreate(cudaEvent_t*, unsigned int) “cudaEventCreate (C++ API)”, ::cudaEventCreateWithFlags, ::cudaEventRecord, ::cudaEventQuery, ::cudaEventSynchronize, ::cudaEventDestroy, ::cudaEventElapsedTime, ::cudaStreamWaitEvent, ::cuEventCreate
§Parameters
event: - Newly created event