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

16 lines · 394 bytes Raw Blame History
1om2
2note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3fn arsstats q view ulong 8 st view ulong 7 y edit ulong 12 to ulong
4put y 0 or ulong uint get q 0 shl ulong uint get q 1 32
5put y 1 get q 2
6v = mul get q 1 get q 2
7s = mul div get q 1 128 div get q 2 128
8v = add v mul s 4
9put y 2 mul get q 0 v
10for i ulong 7
11put y add i 3 get st i
12end
13put y 10 get q 3
14put y 11 get q 4
15ret 0
16end