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 / quant / runtime.om

14 lines · 340 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2note Thin native wire entrypoint, using the sole canonical quant schema.
3fn native_quant op ulong d edit ulong 48 wire edit uchar 384 to ulong
4if eq op 0
5ret ulong quant_write d wire
6end
7if eq op 1
8ret ulong quant_read wire d
9end
10if eq op 2
11ret ulong quant_check d
12end
13ret 1
14end