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 / ginfo.om
| 1 | om2 |
| 2 | note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 3 | fn arginfo q view ulong 16 y edit uint 22 to ulong |
| 4 | for i ulong 22 |
| 5 | put y i 0 |
| 6 | end |
| 7 | for i ulong 10 |
| 8 | put y i uint get q i |
| 9 | end |
| 10 | put y 10 uint and get q 10 4294967295 |
| 11 | put y 11 uint shr get q 10 32 |
| 12 | put y 12 uint and get q 11 4294967295 |
| 13 | put y 13 uint shr get q 11 32 |
| 14 | put y 19 uint get q 12 |
| 15 | put y 20 uint get q 13 |
| 16 | ret 0 |
| 17 | end |