interplane.Get Omega
Read in your language

CUDApp

CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.

Brought by drakestapleton

branch main Branches Tags History

CUDApp / 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