interplane.Get Omega
Read in your language

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

branch main Branches Tags History

CUDApp / tests / amd-exec / ropefreq-probe.om

16 lines · 308 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2note Test-only entry point composed with rope.om before its main.
3fn main to int
4for i ulong 32
5rput mul i 4 f64 rfreq i
6end
7n = ulong 0
8while lt n 128 bound 999999
9r = write 1 rout n sub 128 n
10if le r 0
11ret 74
12end
13n = add n ulong r
14end
15ret 0
16end