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/nvrm/heap_wire.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 / nvrm / heap_wire.om` 18 lines · 379 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note NVOS32_PARAMETERS heap information, vendored nvos.h; sizeof184, data.Info.attr40. 3 fn nvrm_heap_wire a view ulong 16 b edit uchar 184 to ulong 4 for i ulong 184 5 put b i 0 6 end 7 for i ulong 4 8 v = get a i 9 off = mul i 4 10 if eq i 3 11 off = 40 12 end 13 for j ulong 4 14 put b add off j uchar and shr v mul j 8 255 15 end 16 end 17 ret 184 18 end