Source/Systems

Bob.Build.PhysicalComponents

systems/bob/src/Bob/Build/PhysicalComponents.alpha

470 lines80 declarations20.9 KiBSHA-256 d35b583e56d3

def · lines 136–137

bobArgument

Full file
Kernel parameters are sparse 8-byte words in a 512-byte constant buffer. Every Bob kernel reads its arguments from the SM86 parameter base on: the i-th argument is word `bobArgument i`; a kernel's binary32 scalars follow its pointers, two to a word (the loss kernel's after six pointer slots, AdamW's after its four).
136def bobArgument =
137  (lambda unrestricted i : Nat . (naturalAdd (naturalDivideUnchecked qmdKernelParameterBase 8) i))

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.