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/om/session/park.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 / om / session / park.om` 16 lines · 469 bytes Raw Blame History 1 note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 2 note Parked-buffer scan from src/omega_gpu_session.c. A buffer is still parked 3 note when its handle index and generation both match a live slot. Pure lookup: 4 note the C shell owns the parked table and the generation bump. 5 fn scan idx view ulong 512 gen view ulong 512 want ulong wgen ulong to ulong 6 i = ulong 0 7 while lt i 512 8 if eq get idx i want 9 if eq get gen i wgen 10 ret 1 11 end 12 end 13 i = add i 1 14 end 15 ret 0 16 end