Source/Systems

Bob.Build.PhysicalComponents

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

470 lines80 declarations20.9 KiBSHA-256 d35b583e56d3

def · lines 36–42

bobGatherMachineBytes

Full file
Bob declares what runs on the device: four typed regions, the launches that use them with their kernel parameters, and the order they are submitted in. The NVIDIA backend places and prunes the regions, places the parameter blocks, and encodes the QMD table, pushbuffer and GPFIFO from this plan. Nothing here joins bytes or knows where anything lands. Bob's four device kernels, each encoded by its maintained owner.
36def bobGatherMachineBytes : Bytes =
37  (eliminate
38    EmbeddingGatherF32ImageResult
39    (lambda unrestricted current : (family EmbeddingGatherF32ImageResult) . Bytes)
40    bobPredictionRowImage
41    (branch EmbeddingGatherF32ImageReady image digest telemetry . image)
42    (branch EmbeddingGatherF32ImageFailed error ordinal detail telemetry . b""))

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.