Skip to main content

accumulator

Function accumulator 

Source
pub fn accumulator(mode: u32) -> (usize, &'static str)
Expand description

The bytes of the lane’s sums under the numerics of kernel mode mode (mode), and their CUDA type: f64 for the precise numerics (mode 0) — every sum of every kernel, a norm’s, a convolution’s, the delta rule’s, the router’s softmax and the experts’ — f32 for the others.