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 / launch.om
| 1 | om2 |
| 2 | note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 3 | note OmegaGpuLaunch: ABI offsets are asserted in omega_api_views_rest.h. |
| 4 | fn arlaunch q view ulong 16 y edit uint 20 to ulong |
| 5 | for i ulong 20 |
| 6 | put y i 0 |
| 7 | end |
| 8 | put y 0 uint and get q 0 4294967295 |
| 9 | put y 1 uint shr get q 0 32 |
| 10 | put y 2 uint get q 1 |
| 11 | put y 3 uint get q 2 |
| 12 | put y 4 uint get q 3 |
| 13 | put y 5 uint get q 4 |
| 14 | put y 6 uint get q 5 |
| 15 | put y 8 uint and get q 6 4294967295 |
| 16 | put y 9 uint shr get q 6 32 |
| 17 | put y 10 uint and get q 7 4294967295 |
| 18 | put y 11 uint shr get q 7 32 |
| 19 | put y 12 uint get q 8 |
| 20 | put y 14 uint and get q 9 4294967295 |
| 21 | put y 15 uint shr get q 9 32 |
| 22 | put y 16 uint get q 10 |
| 23 | put y 17 uint get q 11 |
| 24 | put y 18 uint get q 12 |
| 25 | ret 0 |
| 26 | end |