Source/Packages

Realization.Nvidia.SM86.GatedGELUSM86

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

170 lines18 declarations7.4 KiBSHA-256 fe6a7ec05912

def · lines 43–50

ggPrologue

Full file
thread index T = block 256 + thread; T 8 and T 4: its binary32 pair's and half pair's byte offsets. R0 thread, R1 block, R2 T, R3 one, R19 zero, R20 T 8, R21 T 4
43def ggPrologue = (lambda unrestricted tail : (family SM86Program) .
44  (saS2R 0 (constructor SM86SpecialRegister SM86ThreadIdX)
45  (saS2R 1 (constructor SM86SpecialRegister SM86CooperativeThreadArrayIdX)
46  (saMovImm 19 0
47  (saMovImmAfter 3 1 saWait5
48  (saImad 2 1 ggThreads 0
49  (saImad 20 2 8 19
50  (saImad 21 2 4 19 tail))))))))

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.