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 / apirest / gspec.om
| 1 | note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 2 | fn argspec q view uint 8 y edit uint 6 to ulong |
| 3 | put y 0 get q 0 |
| 4 | put y 1 uint lane get q 0 |
| 5 | put y 2 uint fp8mt get q 2 get q 1 |
| 6 | put y 3 uint shr fp8def 0 get q 3 32 |
| 7 | put y 4 get q 4 |
| 8 | if ne get q 5 0 |
| 9 | put y 2 get q 5 |
| 10 | end |
| 11 | put y 5 0 |
| 12 | if ne get q 6 0 |
| 13 | put y 5 1 |
| 14 | end |
| 15 | ret 0 |
| 16 | end |