Source/Packages

Realization.Nvidia.SM86.StreamingAttentionSM86

packages/realizations/cooperative/nvidia-sm86/src/Realization/Nvidia/SM86/StreamingAttentionSM86.alpha

1,129 lines205 declarations66.1 KiBSHA-256 aefcbc3b00ca

def · lines 84–94

saFor

Full file
body 0, body 1, ..., body (count - 1), then the tail
84def saFor = (lambda unrestricted count : Nat .
85  (lambda unrestricted body : (pi unrestricted index : Nat . (pi unrestricted tail : (family SM86Program) . (family SM86Program))) .
86    (lambda unrestricted tail : (family SM86Program) .
87      (app
88        (nat-eliminate (lambda unrestricted n : Nat . (pi unrestricted start : Nat . (family SM86Program)))
89          (lambda unrestricted start : Nat . tail)
90          (lambda unrestricted predecessor : Nat .
91            (lambda unrestricted rest : (pi unrestricted start : Nat . (family SM86Program)) .
92              (lambda unrestricted start : Nat . (body start (rest (succ start))))))
93          count)
94        0))))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.