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 / docs / issues / D8-process-tax.md

36 lines · 2299 bytes Raw Blame History Source

D8: measure what a CUDA++ process costs beyond its own buffers

Labels: D8

The pain. "The CUDA tax, which is 4.6 GB approximately per each model on a DGX spark." (r/LocalLLaMA). docs/PAIN_POINTS.md section 2.7.

What exists. A CUDA++ process maps no CUDA library (Omega evidence/WHAT-OMEGA-IS-20261021/live-serve-no-cuda.txt).

What is left. Measure it: resident memory of hello_gpu before open, after open and after its buffers are allocated, and the GPU memory the driver reports for the process, so the overhead beyond the program's own buffers is a number.

Done when. hello_gpu prints its own overhead line, and a chip receipt records it.

Command (on CUDApp#280). hello_gpu prints the overhead line (examples/hello_gpu/README.md, "D8"). tests/d8_process_tax.om (compiled by the pinned seeded omc with tests/d8_lib.om) holds the bar, which was fixed before any chip run:

The bar is 17.1 times below the 4.6 GB in the quote (WolframLanguageEvaluator: N[4.6*10^9/(256*2^20)] -> 17.136). Two negative controls run in the same lease. --bug=short must fail B1. --d8-ballast-mib=512 must show at least 524288 KiB of open cost and must fail B5. The verdict is PASS only when the main run passes and both controls are caught.

Status. The command is IMPLEMENTED and the dry run is EXERCISED on the host. The chip row is NOT_RUN. It waits for CUDApp#280 and an authorized window, and no chip receipt exists yet.