Skip to main content

Module binary

Module binary 

Source

Structs§

OptBinByScalar
OptBinChain
Elementwise binary ops folded into a single pass over one accumulator. Input 0 is a; input i + 1 is step i’s b operand. Each step streams the same a, so evaluating them back to back per chunk — which tract_linalg::multithread::par_bin_chain does — replaces one full memory pass per step by one pass total, with a bit-identical result. Formed by the fuse pass on OptBinUnicast/OptBinByScalar/OptBinChain chains where every step keeps a’s datum type.
OptBinChainStep
One step of an OptBinChain pass: an OptBinUnicast (BShare::Lockstep) or OptBinByScalar (BShare::PerBlock) reduced to its kernel, operand sharing pattern and mini-op for fallback eval and cost.
OptBinUnicast
TypedBinOp

Traits§

BinMiniOp

Functions§

gt_tdim