interplane.Get Omega
Read in your language

benchmarks-mv

Measurement harnesses and evidence bundles for AIEN on the NVIDIA DGX Spark GB10. Speed is reported against the machine's physical limit and my own previous run. Attachment of AienOS.

Brought by drakestapleton

branch main Branches Tags History

benchmarks-mv / native / neuralese / nl1r / mutate.om

101 lines · 1425 bytes Raw Blame History
1note Standalone with io.om. Protocol test data mutation, not a scorer or learned arm.
2global MB uchar 131072
3text MC ","
4fn mcopy begin ulong finish ulong to void
5p = begin
6while lt p finish
7n = write 1 MB p sub finish p
8if le n 0
9exit 93
10end
11p = add p ulong n
12end
13end
14fn mseek p ulong stop ulong delim uchar to ulong
15while lt p stop
16if eq get MB p delim
17ret p
18end
19p = add p 1
20end
21ret p
22end
23fn mreplace n ulong col ulong v ulong header bool to int
24start = ulong 0
25while lt start n
26finish = mseek start n uchar 10
27want = eq get MB start 82
28if header
29want = eq get MB start 67
30end
31if want
32p = add start 2
33for k ulong col
34p = mseek p finish uchar 44
35p = add p 1
36end
37endpos = mseek p finish uchar 44
38if or gt p finish gt endpos finish
39ret 90
40end
41mcopy 0 p
42jnumber v
43mcopy endpos n
44ret 0
45end
46start = add finish 1
47end
48ret 90
49end
50fn main to int
51if ne argcnt 2
52ret 90
53end
54ab = new uchar 2 0
55an = argread 1 ab 0 2
56mode = ulong 0
57for k ulong ulong an
58mode = add mul mode 10 ulong sub get ab k 48
59end
60n = ulong 0
61while lt n 131072
62r = read 0 MB n sub ulong 131072 n
63if lt r 0
64ret 90
65end
66if eq r 0
67break
68end
69n = add n ulong r
70end
71if eq n 131072
72ret 90
73end
74col = ulong 49
75v = ulong 1
76if eq mode 2
77col = 48
78v = 7
79end
80if eq mode 3
81col = 35
82end
83if eq mode 4
84col = 36
85v = bitcast ulong 0.25f64
86end
87if eq mode 5
88col = 40
89end
90if eq mode 6
91col = 44
92end
93if eq mode 7
94col = 0
95end
96if eq mode 8
97col = 47
98v = 2
99end
100ret mreplace n col v eq mode 7
101end