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 / device-trace / golden-test.om
| 1 | note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 2 | note Compose with trace.om. Emit a synthetic complete capture for golden-byte comparison. |
| 3 | fn main to int |
| 4 | if not gtinit 7 11 13 2 3 1 |
| 5 | ret 1 |
| 6 | end |
| 7 | if ne gtappend 7 17 2 224 4294967295 19 0 |
| 8 | ret 2 |
| 9 | end |
| 10 | if ne gtappend 7 17 3 224 0 23 0 |
| 11 | ret 3 |
| 12 | end |
| 13 | if not gtfinish 1 |
| 14 | ret 4 |
| 15 | end |
| 16 | if not gtvalidate 192 7 11 13 |
| 17 | ret 5 |
| 18 | end |
| 19 | if ne write 1 gtbytes 0 192 192 |
| 20 | ret 6 |
| 21 | end |
| 22 | ret 0 |
| 23 | end |