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 / tcinfo.om

22 lines · 527 bytes Raw Blame History
1om2
2note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3fn ar_tci y edit uint 24 i ulong v ulong to void
4put y i uint and v 4294967295
5put y add i 1 uint shr v 32
6ret
7end
8fn artcinfo q view ulong 16 y edit uint 24 to ulong
9for i ulong 24
10put y i 0
11end
12for i ulong 9
13put y i uint get q i
14end
15put y 9 uint get q 2
16put y 10 uint get q 9
17ar_tci y 12 mul mul get q 1 get q 3 get q 4
18ar_tci y 14 mul mul get q 2 get q 3 get q 4
19ar_tci y 16 mul mul mul mul get q 2 get q 8 get q 5 get q 4 32
20put y 23 uint get q 10
21ret 0
22end