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 / disasm / words.om

15 lines · 355 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2note Source: word_half and omega_sm121_padding_start; C retains byte transport only.
3fn dis_words b view uchar 8 mode ulong at ulong prev ulong to ulong
4v = ulong 0
5for i ulong 8
6v = or v shl ulong get b i mul i 8
7end
8if eq mode 0
9ret v
10end
11if eq and v 4095 2381
12ret add at 16
13end
14ret prev
15end