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 / om / apirest / ginfo.om

17 lines · 377 bytes Raw Blame History
1om2
2note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3fn arginfo q view ulong 16 y edit uint 22 to ulong
4for i ulong 22
5put y i 0
6end
7for i ulong 10
8put y i uint get q i
9end
10put y 10 uint and get q 10 4294967295
11put y 11 uint shr get q 10 32
12put y 12 uint and get q 11 4294967295
13put y 13 uint shr get q 11 32
14put y 19 uint get q 12
15put y 20 uint get q 13
16ret 0
17end