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 / native / learn53 / stream.om

39 lines · 649 bytes Raw Blame History
1note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2note Public developer replay only; trusted framework attachment remains NOT_RUN.
3note No launch, timing, candidate source, model, credentials, files or network.
4text verdict "HOST_ONLY 0\n"
5fn kpublish to int
6p = ulong 0
7for i ulong 13
8if ge p len verdict
9ret 0
10end
11w = write 1 verdict p sub len verdict p
12if le w 0
13ret 74
14end
15p = add p ulong w
16end
17ret 74
18end
19fn main to int
20n = ulong 0
21for i ulong 5138
22if ge n 5137
23ret 65
24end
25r = read 0 packet n sub 5137 n
26if lt r 0
27ret 74
28end
29if eq r 0
30status = kframe n
31if ne status 0
32ret status
33end
34ret kpublish
35end
36n = add n ulong r
37end
38ret 65
39end