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 / dx / d2-doctor / fake-machines.txt
| 1 | # commit 8f3a6a2d52c6a9a55cf37b7eccb2839321c835e5 branch dx/d2-doctor, run 2026-10-22T01:49:53Z on spark-b87b |
| 2 | $ CUDAPP_DOCTOR_SHOW=1 sh tests/doctor/run.sh build/cudapp-doctor |
| 3 | ===== fake machine: gb10-ready (exit 0) |
| 4 | cudapp doctor: is this machine ready for CUDA++? |
| 5 | info system: Linux 7.0.0-1019-nvidia aarch64 |
| 6 | ok NVIDIA kernel module: open module 580.173.02 (CUDA++ speaks 580.173.02) |
| 7 | ok device files: /dev/nvidiactl /dev/nvidia0 /dev/nvidia-uvm can be opened by this user |
| 8 | ok GPU 000f:01:00.0: NVIDIA GB10 (sm_121), qualified (receipt: evidence/m16-blackwell-native-path-requalification-receipt.json) |
| 9 | ok memory: 121.6 GiB shared by the CPU and the GPU, 40.1 GiB available now |
| 10 | info CUDA toolkit: not needed and not used by CUDA++ (none installed) |
| 11 | info compiler: this doctor was built by 13.3.0; CUDA++ needs only make and a C compiler |
| 12 | READY. Next: make hello-gpu |
| 13 | PASS gb10-ready |
| 14 | ===== fake machine: no-module (exit 1) |
| 15 | cudapp doctor: is this machine ready for CUDA++? |
| 16 | info system: Linux 7.0.0-1019-nvidia aarch64 |
| 17 | FAIL NVIDIA kernel module: not loaded (/tmp/cudapp-doctor-test.EF0eSB/nomod/proc/driver/nvidia/version does not exist) |
| 18 | CUDA++ uses no NVIDIA user-space software, but it talks to NVIDIA's kernel module. |
| 19 | Do this: sudo modprobe nvidia && sudo modprobe nvidia-uvm |
| 20 | If modprobe finds no module, install NVIDIA's open kernel module 580.173.02 (the open-gpu-kernel-modules release of that number), then run make doctor again. |
| 21 | FAIL device files: /dev/nvidiactl is missing |
| 22 | Do this: sudo modprobe nvidia (or run nvidia-modprobe once, which creates the device files) |
| 23 | FAIL device files: /dev/nvidia0 is missing |
| 24 | Do this: sudo modprobe nvidia (or run nvidia-modprobe once, which creates the device files) |
| 25 | FAIL device files: /dev/nvidia-uvm is missing |
| 26 | Do this: sudo modprobe nvidia-uvm (creates /dev/nvidia-uvm; CUDA++ maps GPU memory through it) |
| 27 | ok GPU 000f:01:00.0: NVIDIA GB10 (sm_121), qualified (receipt: evidence/m16-blackwell-native-path-requalification-receipt.json) |
| 28 | ok memory: 121.6 GiB shared by the CPU and the GPU, 40.1 GiB available now |
| 29 | info CUDA toolkit: not needed and not used by CUDA++ (none installed) |
| 30 | info compiler: this doctor was built by 13.3.0; CUDA++ needs only make and a C compiler |
| 31 | NOT READY: 4 problems above. Fix the first FAIL line and run make doctor again. |
| 32 | PASS no-module |
| 33 | ===== fake machine: module-version (exit 1) |
| 34 | cudapp doctor: is this machine ready for CUDA++? |
| 35 | info system: Linux 7.0.0-1019-nvidia aarch64 |
| 36 | FAIL NVIDIA kernel module: version 575.64.05 is loaded; CUDA++ speaks the 580.173.02 interface |
| 37 | Why: CUDA++ builds its driver calls from the 580.173.02 open-module headers |
| 38 | (third_party/nvidia-open-580.173.02). The layout of those calls can change between module versions, |
| 39 | and a wrong layout fails in strange ways, so CUDA++ refuses instead of guessing. |
| 40 | This is the only version CUDA++ asks you to match: no toolkit, no framework build, no extension build. |
| 41 | Do this: install the 580.173.02 open kernel module, or port the client to your version |
| 42 | (CONTRIBUTING.md, "Port a driver version": copy the new headers, rebuild, run make test and make hello-gpu). |
| 43 | ok device files: /dev/nvidiactl /dev/nvidia0 /dev/nvidia-uvm can be opened by this user |
| 44 | ok GPU 000f:01:00.0: NVIDIA GB10 (sm_121), qualified (receipt: evidence/m16-blackwell-native-path-requalification-receipt.json) |
| 45 | ok memory: 121.6 GiB shared by the CPU and the GPU, 40.1 GiB available now |
| 46 | info CUDA toolkit: not needed and not used by CUDA++ (none installed) |
| 47 | info compiler: this doctor was built by 13.3.0; CUDA++ needs only make and a C compiler |
| 48 | NOT READY: 1 problem above. Fix the first FAIL line and run make doctor again. |
| 49 | PASS module-version |
| 50 | ===== fake machine: closed-module (exit 0) |
| 51 | cudapp doctor: is this machine ready for CUDA++? |
| 52 | info system: Linux 7.0.0-1019-nvidia aarch64 |
| 53 | warn NVIDIA kernel module: the closed module 580.173.02 is loaded; CUDA++ was qualified on the open module of that version |
| 54 | It uses the same calls and should work. If anything fails, switch to the open module and say so in your report. |
| 55 | ok device files: /dev/nvidiactl /dev/nvidia0 /dev/nvidia-uvm can be opened by this user |
| 56 | ok GPU 000f:01:00.0: NVIDIA GB10 (sm_121), qualified (receipt: evidence/m16-blackwell-native-path-requalification-receipt.json) |
| 57 | ok memory: 121.6 GiB shared by the CPU and the GPU, 40.1 GiB available now |
| 58 | info CUDA toolkit: not needed and not used by CUDA++ (none installed) |
| 59 | info compiler: this doctor was built by 13.3.0; CUDA++ needs only make and a C compiler |
| 60 | READY. Next: make hello-gpu |
| 61 | PASS closed-module |
| 62 | ===== fake machine: unknown-chip (exit 1) |
| 63 | cudapp doctor: is this machine ready for CUDA++? |
| 64 | info system: Linux 7.0.0-1019-nvidia aarch64 |
| 65 | ok NVIDIA kernel module: open module 580.173.02 (CUDA++ speaks 580.173.02) |
| 66 | ok device files: /dev/nvidiactl /dev/nvidia0 /dev/nvidia-uvm can be opened by this user |
| 67 | FAIL GPU 000f:01:00.0: NVIDIA device 0x2b85 is not one CUDA++ has qualified. |
| 68 | Why: CUDA++ writes each chip's machine code itself and has run it only on the NVIDIA GB10 (sm_121), |
| 69 | so it refuses this GPU now instead of failing later with "no kernel image is available". |
| 70 | What is missing: a target row for this chip, a check that the encoder's instruction words are valid on it, |
| 71 | its launch descriptor and class numbers, and the hello-gpu qualification run with its receipt. |
| 72 | What to do: follow docs/runtime/PORTABILITY.md section 5 ("What a new GPU needs") and CONTRIBUTING.md ("Port a chip"), |
| 73 | or report it with the output of `make doctor` attached. |
| 74 | info memory: 121.6 GiB system memory, 40.1 GiB available now |
| 75 | info CUDA toolkit: not needed and not used by CUDA++ (none installed) |
| 76 | info compiler: this doctor was built by 13.3.0; CUDA++ needs only make and a C compiler |
| 77 | NOT READY: 1 problem above. Fix the first FAIL line and run make doctor again. |
| 78 | PASS unknown-chip |
| 79 | ===== fake machine: no-gpu (exit 1) |
| 80 | cudapp doctor: is this machine ready for CUDA++? |
| 81 | info system: Linux 7.0.0-1019-nvidia aarch64 |
| 82 | ok NVIDIA kernel module: open module 580.173.02 (CUDA++ speaks 580.173.02) |
| 83 | ok device files: /dev/nvidiactl /dev/nvidia0 /dev/nvidia-uvm can be opened by this user |
| 84 | FAIL GPU: no NVIDIA GPU found in /sys/bus/pci/devices |
| 85 | Do this: check the GPU is seated and powered (lspci | grep -i nvidia). |
| 86 | info memory: 121.6 GiB system memory, 40.1 GiB available now |
| 87 | info CUDA toolkit: not needed and not used by CUDA++ (none installed) |
| 88 | info compiler: this doctor was built by 13.3.0; CUDA++ needs only make and a C compiler |
| 89 | NOT READY: 1 problem above. Fix the first FAIL line and run make doctor again. |
| 90 | PASS no-gpu |
| 91 | ===== fake machine: no-uvm (exit 1) |
| 92 | cudapp doctor: is this machine ready for CUDA++? |
| 93 | info system: Linux 7.0.0-1019-nvidia aarch64 |
| 94 | ok NVIDIA kernel module: open module 580.173.02 (CUDA++ speaks 580.173.02) |
| 95 | FAIL device files: /dev/nvidia-uvm is missing |
| 96 | Do this: sudo modprobe nvidia-uvm (creates /dev/nvidia-uvm; CUDA++ maps GPU memory through it) |
| 97 | ok GPU 000f:01:00.0: NVIDIA GB10 (sm_121), qualified (receipt: evidence/m16-blackwell-native-path-requalification-receipt.json) |
| 98 | ok memory: 121.6 GiB shared by the CPU and the GPU, 40.1 GiB available now |
| 99 | info CUDA toolkit: not needed and not used by CUDA++ (none installed) |
| 100 | info compiler: this doctor was built by 13.3.0; CUDA++ needs only make and a C compiler |
| 101 | NOT READY: 1 problem above. Fix the first FAIL line and run make doctor again. |
| 102 | PASS no-uvm |
| 103 | ===== fake machine: no-permission (exit 1) |
| 104 | cudapp doctor: is this machine ready for CUDA++? |
| 105 | info system: Linux 7.0.0-1019-nvidia aarch64 |
| 106 | ok NVIDIA kernel module: open module 580.173.02 (CUDA++ speaks 580.173.02) |
| 107 | FAIL device files: /dev/nvidia0 exists but this user cannot open it for reading and writing |
| 108 | Do this: ask the machine's owner to add you to the group that owns it (ls -l on the file shows it), |
| 109 | or set the module option NVreg_DeviceFileMode=0666. |
| 110 | ok GPU 000f:01:00.0: NVIDIA GB10 (sm_121), qualified (receipt: evidence/m16-blackwell-native-path-requalification-receipt.json) |
| 111 | ok memory: 121.6 GiB shared by the CPU and the GPU, 40.1 GiB available now |
| 112 | info CUDA toolkit: not needed and not used by CUDA++ (none installed) |
| 113 | info compiler: this doctor was built by 13.3.0; CUDA++ needs only make and a C compiler |
| 114 | NOT READY: 1 problem above. Fix the first FAIL line and run make doctor again. |
| 115 | PASS no-permission |
| 116 | ===== fake machine: memory-line (exit 0) |
| 117 | cudapp doctor: is this machine ready for CUDA++? |
| 118 | info system: Linux 7.0.0-1019-nvidia aarch64 |
| 119 | ok NVIDIA kernel module: open module 580.173.02 (CUDA++ speaks 580.173.02) |
| 120 | ok device files: /dev/nvidiactl /dev/nvidia0 /dev/nvidia-uvm can be opened by this user |
| 121 | ok GPU 000f:01:00.0: NVIDIA GB10 (sm_121), qualified (receipt: evidence/m16-blackwell-native-path-requalification-receipt.json) |
| 122 | ok memory: 121.6 GiB shared by the CPU and the GPU, 40.1 GiB available now |
| 123 | info CUDA toolkit: not needed and not used by CUDA++ (none installed) |
| 124 | info compiler: this doctor was built by 13.3.0; CUDA++ needs only make and a C compiler |
| 125 | READY. Next: make hello-gpu |
| 126 | PASS memory-line |
| 127 | doctor tests: 9 passed, 0 failed |
| 128 | exit 0 |