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 / om / apirest / next.om

20 lines · 411 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2note q: tile cursor, row base, count, bm, two acquired VAs, expert, row prefix, next expert.
3fn arnext q edit ulong 12 cnt view uint * to ulong
4for e ulong 4294967296
5if ge get q 8 len cnt
6ret 0
7end
8i = get q 8
9put q 8 add i 1
10n = get cnt i
11if ne n 0
12put q 6 i
13put q 1 get q 7
14put q 2 ulong n
15put q 7 ulong add uint get q 7 n
16ret 1
17end
18end
19ret 0
20end