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 / blackwell / identity.om

13 lines · 403 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2note cg_bind owns canonical encodings; this unit only hashes its 256-byte wire.
3note Compose with om/cache/digest.om. No duplicated identity admission or encoding.
4fn bw_identity data view uchar 256 n ulong dst edit uchar 32 to int
5if gt n 256
6ret -1
7end
8msg = new uchar 4096 0
9for i ulong n
10put msg i get data i
11end
12ret kc_sha msg n dst
13end