cubecl_hip_sys

Type Alias hipStreamCallback_t

Source
pub type hipStreamCallback_t = Option<unsafe extern "C" fn(stream: hipStream_t, status: hipError_t, userData: *mut c_void)>;
Expand description

Stream CallBack struct

Aliased Type§

enum hipStreamCallback_t {
    None,
    Some(unsafe extern "C" fn(_: *mut ihipStream_t, _: u32, _: *mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut ihipStream_t, _: u32, _: *mut c_void))

Some value of type T.