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 / quant / runtime.om

14 lines · 340 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2note Thin native wire entrypoint, using the sole canonical quant schema.
3fn native_quant op ulong d edit ulong 48 wire edit uchar 384 to ulong
4if eq op 0
5ret ulong quant_write d wire
6end
7if eq op 1
8ret ulong quant_read wire d
9end
10if eq op 2
11ret ulong quant_check d
12end
13ret 1
14end