vllm.models.beam.nvidia.attention_ops_cutedsl
¶
Bit-exact BF16 output gate in CuTe DSL.
Functions:
-
gate_vec–Gate 2 or 4 packed BF16x2 pairs sharing one bias word.
_choose(T_, W, maxvec, contiguous_gate)
¶
Return launch parameters and an optional cooperative register bound.
Source code in vllm/models/beam/nvidia/attention_ops_cutedsl.py
_coop_fits(ncta, block, regs)
¶
Conservative co-residency bound (no shared memory; regs rounded up per warp).
Source code in vllm/models/beam/nvidia/attention_ops_cutedsl.py
_gate_vec_exp_interleaved_ptx(npairs)
¶
Two BF16x2 pairs with independent MUFU operations issued together.
Source code in vllm/models/beam/nvidia/attention_ops_cutedsl.py
gate_vec(gs, xs, b, *, loc=None, ip=None)
¶
Gate 2 or 4 packed BF16x2 pairs sharing one bias word.