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 / evidence / AMD-KFD-LAUNCH3 / bundle / README.md
| 1 | # launch3 notebook probe |
| 2 | |
| 3 | READY for the authorized MI300X notebook diagnostic run. CPU launcher gates passed; |
| 4 | actual KFD/GPU execution and the HIP comparison remain NOT_RUN. |
| 5 | |
| 6 | Paste all of `cell.py` into one notebook cell. It needs x86-64 Linux, Python 3 |
| 7 | standard library, executable temporary storage, permission to open `/dev/kfd`, |
| 8 | the readable gfx942 topology node and its exact DRM render device. The comparison |
| 9 | needs the installed ROCm torch package and the libamdhip64 that it loads; no torch |
| 10 | kernels are run. No package/model downloads, credentials, strace or dmesg are needed. |
| 11 | |
| 12 | Download `amdserve-launch3.txt`, including on failure. CONTROLS is first, every |
| 13 | launcher stdout line is saved as it arrives, and RESULT is last. The direct vadd |
| 14 | uses its existing timeout, printed as `OMEGA diag wait_timeout_ns`, and existing |
| 15 | dispatch bytes. It reads queue pointers, signal, packet header/addresses, loaded |
| 16 | descriptor fields and first eight output words on success or timeout. Values |
| 17 | are decimal; create_queue_input_qword_N is the little-endian u64 at byte offset |
| 18 | 8*N in the 88-byte ioctl input, including compiler-bound mapping addresses. |
| 19 | Returned queue ID and full doorbell offset are separate rows. |
| 20 | |
| 21 | The notebook reads the child's KFD proc directory and queue/occupancy/VRAM files |
| 22 | while signal_wait runs. Missing/inaccessible files are reported, not inferred. |
| 23 | It then runs the identical vadd object and inputs once through HIP, even if Omega |
| 24 | timed out. These rows are labelled `REFERENCE (AMD runtime loading our object, not the Omega launcher)`. No new doorbell value, |
| 25 | extra Omega packet, alternative dispatch, other kernel, or Spark test is attempted. |
| 26 | |
| 27 | Interpret observations together, not as a diagnosis: unchanged read pointer |
| 28 | with advanced write pointer may indicate CP did not consume the packet; expected |
| 29 | output with a nonzero signal may indicate execution without signal completion; |
| 30 | NaN fill means those output words were not observed written. Asynchronous reads |
| 31 | are not a coherent device-wide snapshot. HIP success alone does not establish |
| 32 | why direct dispatch failed. Host dispatch timing is not GPU event timing. |
| 33 | |
| 34 | Cell bytes: 41990 |
| 35 | Cell sha256: 58ad5598c5e1412320f841b7a605629ac6cdfa1ae3b905bed5d8704263b110b9 |
| 36 | Binary sha256: 58b4d956b77394ef94509ebf3c42cbef81bb796642f4d9f554737b9c2a2cb2b9 |
| 37 | Launcher source commit: 6e13387936a5b1ca56c6a4ed59bcec9a4b1cb2fb |
| 38 | Compiler source commit: 290ad5feb9fa34b47e3672f4921f16de7807fca1 |
| 39 | Compiler sha256: ca20b6a5181d63b03d2dbbd2bdafd5cae225116e477997853f6f45d9d7d9641b |
| 40 | |
| 41 | `bundle.json` records every object source commit and digest. `SHA256SUMS` covers |
| 42 | every delivered file, including this README and cell.py, except itself. |