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
CUDApp / docs / device-trace / PLAN.md
| 1 | # Bounded trace contract first slice |
| 2 | |
| 3 | Issue: https://github.com/aien-dev/CUDApp/issues/82 |
| 4 | Consumer: https://github.com/aien-dev/omega-mv/issues/778 |
| 5 | Base: a520cd30e54c3b0ddd553ee3ccb3f5e673345cd6 |
| 6 | |
| 7 | 1. Freeze a small little-endian wire layout and one-producer selection policy. |
| 8 | The builder's choice is fixed slots instead of a shared atomic ring. This |
| 9 | avoids contention, cross-thread ordering claims and any new GPU barrier. |
| 10 | 2. Write native Omega tests before the codec. Cover capacity, loss, selection, |
| 11 | malformed inputs, stale provenance, truncated buffers and disabled bytes. |
| 12 | 3. Implement the bounded host reference and codec in native Omega. Preserve |
| 13 | the existing vector emitter and launcher unchanged. Do not emit an |
| 14 | unqualified timer instruction or claim this is already a device producer. |
| 15 | 4. Run available independent host checks and record their exact limits. Run |
| 16 | the native tests only through a verified pinned AArch64 compiler. This |
| 17 | x86_64 environment cannot execute that path, so it is NOT_RUN here. |
| 18 | 5. Obtain independent review. The next implementation step is the existing |
| 19 | emitter's timer, selected-lane stores and buffer ownership, with golden |
| 20 | opcode/control tests followed by a separately authorized GB10 receipt. |
| 21 | |
| 22 | The low32 historical timer is not a coherent64 clock. No duration, units, |
| 23 | CPU correlation or cross-SM order is inferred from this slice. Native tests |
| 24 | are supplied for later execution; an external audit is not their substitute. |