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 / evidence / AMD-KFD-LAUNCH3 / bundle / README.md

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