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 / learn53 / stream-unit.om
| 1 | fn main to int |
| 2 | frame |
| 3 | check eq kframe 172 0 |
| 4 | check eq kframe 0 65 |
| 5 | check eq kframe 7 65 |
| 6 | check eq kframe 5137 65 |
| 7 | check eq kframe 18446744073709551615 65 |
| 8 | check eq kframe 171 65 |
| 9 | check eq kframe 173 65 |
| 10 | pw 0 4294967295 |
| 11 | check eq kframe 172 65 |
| 12 | frame |
| 13 | pw 0 4097 |
| 14 | check eq kframe 172 65 |
| 15 | frame |
| 16 | pw 0 95 |
| 17 | check eq kframe 172 65 |
| 18 | frame |
| 19 | pw 140 4294967295 |
| 20 | check eq kframe 172 65 |
| 21 | frame |
| 22 | pw 140 1033 |
| 23 | check eq kframe 172 65 |
| 24 | frame |
| 25 | pw 140 0 |
| 26 | check eq kframe 144 65 |
| 27 | frame |
| 28 | pw 148 9 |
| 29 | check eq kframe 172 1 |
| 30 | frame |
| 31 | pw 88 1 |
| 32 | check eq kframe 172 65 |
| 33 | frame |
| 34 | pw 60 3 |
| 35 | check eq kframe 172 77 |
| 36 | frame |
| 37 | check eq kframe 172 0 |
| 38 | if ne get tally 1 0 |
| 39 | ret 1 |
| 40 | end |
| 41 | ret 0 |
| 42 | end |