cubecl_hip_sys

Function hipEventCreate

Source
pub unsafe extern "C" fn hipEventCreate(
    event: *mut hipEvent_t,
) -> hipError_t
Expand description

Create an event

@param[in,out] event Returns the newly created event.

@returns #hipSuccess, #hipErrorNotInitialized, #hipErrorInvalidValue, #hipErrorLaunchFailure, #hipErrorOutOfMemory

@see hipEventCreateWithFlags, hipEventRecord, hipEventQuery, hipEventSynchronize, hipEventDestroy, hipEventElapsedTime