omega-gpu-driver
aien-dev/omega-gpu-driver
Brought by drakestapleton
omega-gpu-driver / tests / rme_trace.om
| 1 | note Test-only binary transcript: model route publication and transactional refusal. |
| 2 | fn main to int |
| 3 | t = new ulong 4096 0 |
| 4 | b = new uchar 16384 0 |
| 5 | o = new uchar 16384 0 |
| 6 | rmput b 84 4 65 |
| 7 | r = rmaction t b 43 |
| 8 | rmput o 0 4 r |
| 9 | rmput o 4 4 get t 400 |
| 10 | rmput o 8 4 get t 411 |
| 11 | rmput o 12 4 get t 412 |
| 12 | for j ulong 152 |
| 13 | put o add 16 j get rqpay j |
| 14 | end |
| 15 | put t 410 5 |
| 16 | rmput b 72 4 1 |
| 17 | rmput b 76 4 1 |
| 18 | rmput b 80 4 99 |
| 19 | rmput b 84 4 128 |
| 20 | rmput b 96 4 56 |
| 21 | r = rmaction t b 43 |
| 22 | rmput o 168 4 rmstatus r |
| 23 | rmput o 172 4 get t 401 |
| 24 | rmput o 176 4 rmfind t 1 99 |
| 25 | wr = write 1 o 0 180 |
| 26 | if ne wr 180 |
| 27 | ret 1 |
| 28 | end |
| 29 | ret 0 |
| 30 | end |