Skip to main content

gpu_max

Function gpu_max 

Source
pub fn gpu_max(data: &[f64]) -> f64
Expand description

Compute the maximum element in a slice (parallel reduction mock).

Returns f64::NEG_INFINITY for an empty slice.