Skip to main content

init_kb

Function init_kb 

Source
pub unsafe extern "C" fn init_kb(
    out: *mut c_void,
    raw_data: *const u32,
    n: usize,
) -> i32
Expand description

Launches the benchmark init kernel on the benchmark stream.

ยงSafety

The caller must provide valid device pointers for out and raw_data, and out must have capacity for n field elements of the target type.