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/issues/c183db176c9f8af1 # 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 # Extend memory admission with coordinated reservations and explicit buffer ownership Open · #24 · open 2026-10-22 17:08 UTC Imported from GitHub aien-dev/CUDApp#24, by drakestapleton drakestapleton wrote on 2026-10-22 17:08 UTC ## Problem src/omega_gpu_platform_linux.c checks MemAvailable before allocating, but separate processes can observe the same free budget. Unreadable memory information currently allows allocation. Extend #8's existing guard without replacing its tested behavior or claiming a system-wide OOM guarantee. ## Scope Define explicit weight/intermediate/KV/marker usage, ownership, lifetime and cache/visibility rules. Add coordinated reservations for cooperating CUDApp processes using the existing isolation work from #6; account for external memory pressure separately. ## Acceptance - Specify reserve/acquire/commit/release and process-death recovery; prevent two cooperating processes spending the same reservation. - Check arithmetic overflow and invalid settings; define configurable behavior for missing/stale memory information. - Preserve established uncached marker visibility and use cached weights only under the proven ownership contract. - Host tests exercise simultaneous contenders, cancellation, crash cleanup, stale ownership and reservation-bypass mutants. - Record actual process overhead through #14 without double-counting explicit buffers or shared weights. - Chip qualification uses bounded allocations and verifies existing serving readiness; never deliberately exhaust the live machine. - Document limits: unrelated processes/kernel allocations can still consume memory outside this admission mechanism. ## Evidence and closure Review baseline: `232332422bfdc31c8918085b50f13c1e18ab702e`; re-inspect the current tree and reuse existing work before editing. Coordinate with #5 and #6 and the serving/chip-window owner; host work can proceed independently of hardware scheduling. This issue does not authorize interrupting the live motor or switching kernel drivers. Publish exact source/pin SHAs, build and binary hashes, commands, exit codes, hardware/driver identity, raw logs and relevant negative controls under evidence/. Separate host, simulator and GB10 results. Hardware acceptance needs a real coordinated GB10 run on the final integrated artifact. Keep CUDA userspace dependencies out of the deployed runtime. Do not close on a branch push, simulator-only hardware result or PR merge alone. Experimental issues may close with a reproducible negative result and explicit decision; do not claim an optimization shipped unless its integration gates pass. No comments. Sign in to comment