code wiki / _hdl_build / nx_mmaemit.nx

nx_mmaemit.nx

buildroot/runtime/_hdl_build/nx_mmaemit.nx

1407 B28 linesdepth 3pulls 3 transitivereach 0 importersview sourcekind tool
docsdependenciesstructsconstsfunctions

about

nx_mmaemit.nx -- emit the EXACT 128-bit SASS our sovereign nx_mma_asm encoder produces for the two HMMA instructions in mma_test.cubin (@0x190 R20,R4,R16,RZ and @0x1a0 R16,R4,R18,RZ), plus a corrupted variant (ra 4->6) as a negative control. The host splices these OUR-bytes into the cubin and runs on the 5080.

dependencies 2 imports · 0 importers

nx_syscalls.nx nx_mma_asm.nx nx_mmaemit.nx

imports: nx_syscalls.nxnx_mma_asm.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main puts sys_write puth sys_mmap puts ↻ sys_write ↻ nv_mma_low nv_mma_high

structs

none

consts

none

functions

7func puts(s: *u8) -> i64 { var n: i64=0; while s[n]!=(0 as u8){n=n+1} sys_write(1,s,n); return 0 }
called by 2: puthmain calls 1: sys_write
8func puth(v: i64) -> i64
called by 1: main calls 3: sys_mmapputssys_write
22func main() -> i64