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 / nvidia / checks / arest-launch.om

19 lines · 494 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0
2note gpu/nvidia/checks/arest-launch.om: arlaunch (gpu/nvidia/om/apirest/launch.om); Q is its 16 q words, the output its 20 words. Composed before arest.om.
3text t_name "AREST-LAUNCH"
4text t_au "launch"
5fn arop q view ulong 64 nq ulong ny ulong o edit ulong 128 to ulong
6if or ne nq 16 ne ny 20
7ckbad
8end
9a = new ulong 16 0
10for i ulong 16
11put a i get q i
12end
13y = new uint 20 0x5a5a5a5a
14r = arlaunch a y
15for i ulong 20
16put o i ulong get y i
17end
18ret r
19end