numr 0.7.0

High-performance numerical computing with multi-backend GPU acceleration (CPU/CUDA/WebGPU)
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Binary operation CUDA kernels: element-wise and broadcasting launchers.
//!
//! - `launchers` - kernel launch entry points (plain and broadcast element-wise ops)
//! - `broadcast_strides` - stride and magic-divisor helpers backing the broadcast launcher

mod broadcast_strides;
mod launchers;

pub(crate) use broadcast_strides::compute_broadcast_strides;
pub use broadcast_strides::{
    MAX_BROADCAST_DIMS, compute_magic_divisor, detect_fast_trailing_broadcast,
};
pub use launchers::{
    launch_binary_op, launch_broadcast_binary_op, launch_logical_and_op, launch_logical_or_op,
    launch_logical_xor_op,
};