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 / segb.om
| 1 | note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception |
| 2 | fn arsegb n uint cnt uint mut uint e view uint 3 y edit uint 3 to ulong |
| 3 | if ne segend 0 cnt 1 1 0 0 |
| 4 | ret 1 |
| 5 | end |
| 6 | for i ulong 3 |
| 7 | put y i uint segb uint i cnt n get e i mut |
| 8 | end |
| 9 | ret 0 |
| 10 | end |