Source/Systems

Coppelius.Build.Graph

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

3,462 lines536 declarations124.9 KiBSHA-256 878726898dd9

def · lines 1462–1466

cgCastDown

Full file
binary32 -> binary16: each thread converts one pair of elements (Realization.Nvidia.SM86.Cast's geometry: elements / 2 threads). A launch of one thread per element writes a second output's worth past the plane.
1462def cgCastDown =
1463  (lambda unrestricted output : Nat .
1464    (lambda unrestricted input : Nat .
1465      (lambda unrestricted elements : Nat .
1466        (cgUnary cgImageCastDown output input (naturalDivideUnchecked elements 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.