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
CUDApp / om / apiviews / fp8en.om
| 1 | note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 2 | note Fixed 2-word fp8 group descriptor. ent 0 is the weight VA, ent 1 the scale VA. |
| 3 | note id is the group index, wv and sv the base VAs, ws and ss the strides. |
| 4 | note The caller loops groups and keeps the launch. No oversized view. |
| 5 | fn av_fp8en id ulong wv ulong sv ulong ws ulong ss ulong ent edit ulong 2 to ulong |
| 6 | put ent 0 add wv mul id ws |
| 7 | put ent 1 add sv mul id ss |
| 8 | ret 0 |
| 9 | end |