Skip to main content

dispatch_reduction

Macro dispatch_reduction 

Source
macro_rules! dispatch_reduction {
    ($backend:expr, $op:ident, $data:expr) => { ... };
}
Expand description

Macro to dispatch reduction operations (return f32)

Routes operations like sum, max, min to the best available SIMD backend. Falls back to scalar implementation when a hardware backend is unavailable.