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 / tests / components / capacity-runtime-unit.om
| 1 | note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 2 | note Actual merged169 nv_staged recomposition seam. This is not full artifact admission or device evidence. |
| 3 | fn main to int |
| 4 | rec = new uchar 4096 0 |
| 5 | launch = new uchar 4096 0 |
| 6 | code = new uchar 16384 99 |
| 7 | compose_put rec 6 1536 |
| 8 | compose_put rec 16 512 |
| 9 | compose_put rec 14 8 |
| 10 | compose_put rec 17 16 |
| 11 | compose_put launch 12 8 |
| 12 | if ne nv_staged rec code launch 0 -14 |
| 13 | ret 78 |
| 14 | end |
| 15 | for j ulong 16384 |
| 16 | if ne get code j 99 |
| 17 | ret 79 |
| 18 | end |
| 19 | end |
| 20 | ret 0 |
| 21 | end |