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 / CHIP-BATTERY-20261025 / hello-gpu.log
| 1 | cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -o build/hello_gpu examples/hello_gpu/hello_gpu.c build/libomega_gpu.a -lpthread -lm |
| 2 | build/cudapp-doctor |
| 3 | cudapp doctor: is this machine ready for CUDA++? |
| 4 | info system: Linux 7.0.0-1019-nvidia aarch64 |
| 5 | ok NVIDIA kernel module: open module 580.173.02 (CUDA++ speaks 580.173.02) |
| 6 | ok device files: /dev/nvidiactl /dev/nvidia0 /dev/nvidia-uvm can be opened by this user |
| 7 | ok GPU 000f:01:00.0: NVIDIA GB10 (sm_121), qualified (receipt: evidence/m16-blackwell-native-path-requalification-receipt.json) |
| 8 | ok memory: 121.7 GiB shared by the CPU and the GPU, 58.8 GiB available now |
| 9 | info CUDA toolkit: not needed and not used by CUDA++ (one is installed at /usr/local/cuda/bin/nvcc; that is fine) |
| 10 | info compiler: this doctor was built by 13.3.0; CUDA++ needs only make and a C compiler |
| 11 | READY. Next: make hello-gpu |
| 12 | ./build/hello_gpu |
| 13 | hello_gpu: c = a + b over 1048576 floats on the GPU, built with Omega's own kernel builder |
| 14 | kernel built in 23 us: 32 instructions, 12 registers, no compiler run, no cache |
| 15 | machine code sha256 6248b8ed338019f75e20b13a8ef7e63b4e35764229e0669ffbe54464353e87d1 |
| 16 | kernel: 32 instructions, 12 registers |
| 17 | checked 1048576 of 1048576 elements: 0 wrong, 0 never written |
| 18 | work: 12582912 bytes moved (8388608 read, 4194304 written), 1048576 floating-point operations |
| 19 | at the GB10's measured 195.1 GB/s read ceiling this needs at least 64.5 us; the GPU took 939.0 us (7% of the ceiling) |
| 20 | output sha256 72d0c1b2928779e83518f0b4c7d101d933cf89f210cd4627e138c33c9ce9b6a6 |
| 21 | PASS |
| 22 | rc=0 |