interplane.Get Omega
Read in your language

omega-mv

Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.

Brought by drakestapleton

branch main Branches Tags History

omega-mv / gpu / amd / tests / amd-exec / row-probe.om

24 lines · 436 bytes Raw Blame History
1note Test-only entry: execute specified row IDs, retaining the real full M/K and row stride.
2fn main to int
3if lt argcnt 4
4ret 64
5end
6put st 0 openarg 1 0
7put st 1 filesize get st 0
8if or eq get st 1 0 ne and get st 1 3 0
9ret 65
10end
11validate
12put st 2 openarg 2 2
13put st 3 filesize get st 2
14for i ulong sub ulong argcnt 3
15wave gridarg add i 3 0
16end
17if ne fclose int get st 2 0
18ret 74
19end
20if ne fclose int get st 0 0
21ret 74
22end
23ret 0
24end