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 / tcspec.om
| 1 | note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 2 | fn artcsp q view uint 8 y edit uint 5 to ulong |
| 3 | v = tcsp get q 2 get q 3 get q 1 |
| 4 | put y 0 get q 0 |
| 5 | put y 1 uint and v 4294967295 |
| 6 | put y 2 uint shr v 32 |
| 7 | put y 3 uint tcw get q 4 |
| 8 | put y 4 get q 5 |
| 9 | ret 0 |
| 10 | end |