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 / mathlibs / host_index.om

7 lines · 217 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2fn native_mhidx l view ulong 8 e view ulong 4 rank ulong idx ulong op ulong to ulong
3if eq op 0
4ret mh_index l e rank idx
5end
6ret mh_eachcnt e rank idx
7end