Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omega-mv/blob/main/gpu/nvidia/checks/arest-xnext.om # 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 Sign in to star 1 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omega-mv / gpu / nvidia / checks / arest-xnext.om` 44 lines ยท 1125 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 2 note gpu/nvidia/checks/arest-xnext.om: arxnext (gpu/nvidia/om/apirest/xnext.om), as state_parts() of CUDApp 3 note tests/api_rest_partitions.h calls it in a loop. Q a flag, 16 q words, 5 rows, 3 have bytes: with flag 0 q and 4 note have are the row's, with flag 1 they are what the previous row left, as the test's loop carries them. q after 5 note the call is output 129 on (128 + its place in Q). Composed before arestg.om. 6 text t_name "AREST-XNEXT" 7 text t_xnext "xnext" 8 global ax_xq ulong 16 9 global ax_xh uchar 3 10 fn arop q view ulong 256 nq ulong ny ulong o edit ulong 256 to ulong 11 if or ne nq 25 not ckis 0 t_xnext 12 ckbad 13 end 14 a = new ulong 16 0 15 have = new uchar 3 0 16 if eq get q 0 0 17 for i ulong 16 18 put a i get q add 1 i 19 end 20 for i ulong 3 21 put have i uchar get q add 22 i 22 end 23 else 24 for i ulong 16 25 put a i get ax_xq i 26 end 27 for i ulong 3 28 put have i get ax_xh i 29 end 30 end 31 rows = new uint 5 0 32 for i ulong 5 33 put rows i uint get q add 17 i 34 end 35 r = arxnext a part rows 0 5 part have 0 3 36 for i ulong 16 37 put ax_xq i get a i 38 put o add 129 i get a i 39 end 40 for i ulong 3 41 put ax_xh i get have i 42 end 43 ret r 44 end