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 / apiviews / fp8en.om

9 lines · 437 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2note Fixed 2-word fp8 group descriptor. ent 0 is the weight VA, ent 1 the scale VA.
3note id is the group index, wv and sv the base VAs, ws and ss the strides.
4note The caller loops groups and keeps the launch. No oversized view.
5fn av_fp8en id ulong wv ulong sv ulong ws ulong ss ulong ent edit ulong 2 to ulong
6put ent 0 add wv mul id ws
7put ent 1 add sv mul id ss
8ret 0
9end