Skip to main content

gpu_dot

Function gpu_dot 

Source
pub fn gpu_dot(a: &[f64], b: &[f64]) -> f64
Expand description

Compute the dot product of two equal-length slices (parallel mock).

Panics in debug mode if the slices differ in length.