Function ocl_core::util::shuffle [] [src]

pub fn shuffle<T: OclScl>(vec: &mut [T])

Shuffles the values in a vector using a single pass of Fisher-Yates with a weak (not cryptographically secure) random number generator.