Skip to main content

generate_u32

Function generate_u32 

Source
pub unsafe fn generate_u32(
    gen: curandGenerator_t,
    out: *mut u32,
    n: usize,
) -> Result<(), CurandError>
Expand description

curandGenerate — raw u32 bit fill (used as the building block for any custom transform).

§Safety

Same invariants as generate_poisson_u32.