barraCuda
GPU compute
GPU math engine — 800+ production WGSL shaders across 10 scientific domains. Writes the math; coralReef compiles it; ToadStool dispatches it. No CUDA, no ROCm.
228,906lines of Rust
4,648test functions
1156files
10crates
Tier: foundation
Capabilities
| Category | Primitives |
|---|---|
| Linear Algebra | GEMM, eigensolvers, SVD, LU, QR, sparse CG |
| Physics | Yukawa force, Velocity Verlet, PBC, PPPM, HFB nuclear, lattice QCD |
| ML | Attention (7 variants), losses, optimizers, ESN reservoir computing |
| Bioinformatics | 31 GPU bio ops: kmer, UniFrac, HMM, phylogenetics |
| Special Functions | Bessel, Laguerre, Hermite, erfc, Gamma, Hill kinetics |
| Precision | DF64 double-precision emulation (f32 pairs, ~48-bit mantissa, 9.9x throughput) |
Composes Into
Node Atomic (via ToadStool), NUCLEUS compute layer, Sovereign Compute Pipeline