interplane.Get Omega
Read in your language

aien-train

AIEN training programme: language-model history, GB10 constraints and the route to training on the project engine. Plans and runnable checks are distinguished.

Brought by drakestapleton

branch main Branches Tags History

aien-train / tests / omegallm / gpu-dump.om

25 lines · 845 bytes Raw Blame History
1note gpu-dump.om: emit the gk and gr kernels for the small parity shape and write the whole 64-slot
2note code image gkcode (16 KiB per slot, 1 MiB) to stdout and a 128-byte table to stderr: bytes 0..63
3note the declared GPR counts gkgpr, bytes 64..127 the QMD TARGET_SM_CONFIG field of gksmw (hw value,
4note 0 for an id with no kernel), one byte per kernel id. No GPU is touched. tests/omegallm/gpu-disasm.sh
5note appends this unit to the gb10 sources (gg.om's main renamed ggmain), feeds the slots to nvdisasm
6note and checks each slot's gkgpr.
7global gdgpr uchar 128
8fn main to int
9grset 256 32 64 2 128 2
10if not grall
11exit 3
12end
13if not gkall
14exit 2
15end
16w = write 1 gkcode 0 1048576
17for i ulong 64
18put gdgpr i uchar get gkgpr i
19if ne get gkthr i 0
20put gdgpr add i 64 uchar and shr gksmw uint i 23 63
21end
22end
23w = write 2 gdgpr 0 128
24exit 0
25end