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 / amd / tests / amd-exec / ropefreq-probe.om

16 lines · 308 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2note Test-only entry point composed with rope.om before its main.
3fn main to int
4for i ulong 32
5rput mul i 4 f64 rfreq i
6end
7n = ulong 0
8while lt n 128 bound 999999
9r = write 1 rout n sub 128 n
10if le r 0
11ret 74
12end
13n = add n ulong r
14end
15ret 0
16end