Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/blob/main/native/learn53/stream.om # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / native / learn53 / stream.om` 39 lines · 649 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note Public developer replay only; trusted framework attachment remains NOT_RUN. 3 note No launch, timing, candidate source, model, credentials, files or network. 4 text verdict "HOST_ONLY 0\n" 5 fn kpublish to int 6 p = ulong 0 7 for i ulong 13 8 if ge p len verdict 9 ret 0 10 end 11 w = write 1 verdict p sub len verdict p 12 if le w 0 13 ret 74 14 end 15 p = add p ulong w 16 end 17 ret 74 18 end 19 fn main to int 20 n = ulong 0 21 for i ulong 5138 22 if ge n 5137 23 ret 65 24 end 25 r = read 0 packet n sub 5137 n 26 if lt r 0 27 ret 74 28 end 29 if eq r 0 30 status = kframe n 31 if ne status 0 32 ret status 33 end 34 ret kpublish 35 end 36 n = add n ulong r 37 end 38 ret 65 39 end