Skip to main content

CUlogsCallback

Type Alias CUlogsCallback 

Source
pub type CUlogsCallback = Option<unsafe extern "C" fn(data: *mut c_void, logLevel: CUlogLevel, message: *mut c_char, length: size_t)>;
Expand description

MANBRIEF error log management functions for the low-level CUDA API (CURRENT_FILE) ENDMANBRIEF

This section describes the error log management functions of the low-level CUDA driver application programming interface.

@{

Aliased Type§

pub enum CUlogsCallback {
    None,
    Some(unsafe extern "C" fn(*mut c_void, CUlogLevel_enum, *mut i8, u64)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*mut c_void, CUlogLevel_enum, *mut i8, u64))

Some value of type T.