Source/Packages

Realization.Nvidia.SM86.StreamingAttentionSM86

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

3,230 lines493 declarations193.3 KiBSHA-256 cc0366b3d857

def · lines 86–96

saFor

Full file
body 0, body 1, ..., body (count - 1), then the tail
86def saFor = (lambda unrestricted count : Nat .
87  (lambda unrestricted body : (pi unrestricted index : Nat . (pi unrestricted tail : (family SM86Program) . (family SM86Program))) .
88    (lambda unrestricted tail : (family SM86Program) .
89      (app
90        (nat-eliminate (lambda unrestricted n : Nat . (pi unrestricted start : Nat . (family SM86Program)))
91          (lambda unrestricted start : Nat . tail)
92          (lambda unrestricted predecessor : Nat .
93            (lambda unrestricted rest : (pi unrestricted start : Nat . (family SM86Program)) .
94              (lambda unrestricted start : Nat . (body start (rest (succ start))))))
95          count)
96        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.