Structs§
- OptBin
ByScalar - OptBin
Chain - Elementwise binary ops folded into a single pass over one accumulator.
Input 0 is
a; inputi + 1is stepi’sboperand. Each step streams the samea, so evaluating them back to back per chunk — whichtract_linalg::multithread::par_bin_chaindoes — replaces one full memory pass per step by one pass total, with a bit-identical result. Formed by thefusepass onOptBinUnicast/OptBinByScalar/OptBinChainchains where every step keepsa’s datum type. - OptBin
Chain Step - One step of an
OptBinChainpass: anOptBinUnicast(BShare::Lockstep) orOptBinByScalar(BShare::PerBlock) reduced to its kernel, operand sharing pattern and mini-op for fallback eval and cost. - OptBin
Unicast - Typed
BinOp