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

27 lines · 852 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2note Private graph state owns all candidates and canonical bytes. Not a qualification authority.
3note Qualification records must be resolved by existing evaluator/receipt owners, not the caller.
4note One selection under existing session lock; copy only selected canonical record from immutable graph pool.
5fn native_graph q view ulong 64 rows view ulong 1024 p edit ulong 528 want view uchar 4096 records view uchar 65536 out edit ulong 32 to long
6sel = new ulong 16 0
7real = new uchar 4096 0
8for i ulong 32
9put out i 0
10end
11rc = pl_select q rows sel
12if ne rc 0
13ret long rc
14end
15if ge get sel 1 16
16ret 65
17end
18base = mul get sel 1 4096
19for i ulong 4096
20put real i get records add base i
21end
22rc = pl_checkrow rows want real sel
23if ne rc 0
24ret long rc
25end
26ret long pl_finish q rows p sel out
27end