Type Alias cudaHostFn_t

Source
pub type cudaHostFn_t = Option<unsafe extern "C" fn(userData: *mut c_void)>;
Expand description

CUDA host function \param userData Argument value passed to the function

Aliased Type§

pub enum cudaHostFn_t {
    None,
    Some(unsafe extern "C" fn(*mut c_void)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void))

Some value of type T.