Source/Systems

Coppelius.Build.Graph

systems/coppelius/src/Coppelius/Build/Graph.alpha

3,461 lines536 declarations124.9 KiBSHA-256 6b9f923bd170

def · lines 355–357

cgHalfOffset

Full file
the half bank parallel to the parameter bank (element i's half at byte 2 i), so AdamW writes each parameter's half beside its update (Realization.Nvidia.SM86.AdamWHalfSM86): matrix index's copy at half its entry's offset
355def cgHalfOffset =
356  (lambda unrestricted index : Nat .
357    (naturalAdd cgHalfStart (naturalDivideUnchecked (cgEntryOffset (cgMatrixEntry index)) 2)))

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.