pub fn gpu_histogram(
data: &[f64],
min_val: f64,
max_val: f64,
num_bins: usize,
) -> Vec<usize>Expand description
Compute a histogram of the input data over num_bins equal-width bins
spanning [min_val, max_val).
Returns a Vecusizeof lengthnum_bins`. Values outside the range are
clamped to the first/last bin.