Source/Systems

Coppelius.Build.Graph

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

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

def · lines 3048–3052

cgPlane

Full file
---- the device side of the arena ---- Every tensor the plan places, named: the globals, live for the whole program, and each phase's planes (fresh, or carried from an earlier phase). Runtime.DeviceArenaCertificate decides, on the launch and submission schedules above, that every pointer a launch passes lies in a plane of its phase or in a global, that the planes live together never share a byte, and that no carried plane is overwritten before its phase runs; the host is admitted only then (Coppelius.Build.NativeHost). Staging planes are declared fresh: the host writes them between submissions, in the order the host side of the certificate decides.
3048def cgPlane =
3049  (lambda unrestricted name : Bytes .
3050    (lambda unrestricted address : Nat .
3051      (lambda unrestricted bytes : Nat .
3052        (constructor ArenaResident ArenaResidentValue name address bytes cgParameterAlignment))))

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.