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

26 lines · 685 bytes Raw Blame History
1om2
2note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3note OmegaGpuLaunch: ABI offsets are asserted in omega_api_views_rest.h.
4fn arlaunch q view ulong 16 y edit uint 20 to ulong
5for i ulong 20
6put y i 0
7end
8put y 0 uint and get q 0 4294967295
9put y 1 uint shr get q 0 32
10put y 2 uint get q 1
11put y 3 uint get q 2
12put y 4 uint get q 3
13put y 5 uint get q 4
14put y 6 uint get q 5
15put y 8 uint and get q 6 4294967295
16put y 9 uint shr get q 6 32
17put y 10 uint and get q 7 4294967295
18put y 11 uint shr get q 7 32
19put y 12 uint get q 8
20put y 14 uint and get q 9 4294967295
21put y 15 uint shr get q 9 32
22put y 16 uint get q 10
23put y 17 uint get q 11
24put y 18 uint get q 12
25ret 0
26end