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

19 lines · 350 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2fn artspec q view uint 8 y edit uint 10 to ulong
3v = tgspec get q 2 get q 3 get q 1
4put y 0 get q 0
5put y 1 get q 1
6put y 2 uint and v 4294967295
7put y 3 2
8put y 4 uint shr v 32
9put y 5 32
10a = get q 4
11if eq a 0
12a = 1
13end
14put y 6 a
15put y 7 get q 5
16put y 8 get q 6
17put y 9 get q 7
18ret 0
19end