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 / 2026-11-06-platform-linux-rest / focused-final.log
| 1 | $ bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10 make -j3 test-platform-linux-rest test-platform-linux-policy test-platform-linux-effects test-platform-linux-wait test-platform-linux-fake-device test-gpu-session-platform |
| 2 | build/platform_linux_rest |
| 3 | build/platform_linux_policy |
| 4 | build/platform_linux_effects |
| 5 | PASS platform linux policy differential |
| 6 | PASS platform rest live memfd: original marker parser rejected real /memfd: link |
| 7 | PASS platform rest source-partition differential and ABI refusals |
| 8 | PASS platform linux effects differential |
| 9 | build/platform_linux_wait |
| 10 | build/platform_linux_fake_devctl |
| 11 | PASS platform linux wait |
| 12 | FAIL platform rest mode=0 m0=0 m1=268435456 |
| 13 | python3 tests/platform_linux_rest_mutants.py |
| 14 | platform_linux_wait_mutant: tests/platform_linux_wait.c:24: main: Assertion `omega2_plat_wait_ge(&r, h, 4, 5, 1) == 0 && (int64_t)r == 0' failed. |
| 15 | PASS platform linux fake-device fixture (mutant exit 4) |
| 16 | gcc -std=gnu11 -O2 -Wall -Wextra -Werror -D_GNU_SOURCE -pthread -Isrc -Itests -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 \ |
| 17 | -Wl,--wrap=omega2_ctx_plat_wait_ge -o build/test_omega_gpu_platform_linux tests/test_omega_gpu_platform_linux.c tests/fake_m16_native.c tests/omega_gpu_live_marker_fixture.c src/omega_gpu_session.c src/omega_gpu_platform.c src/omega_gpu_platform_linux.c om/platform-linux/gen/link/plat_fx_effects.c om/platform-linux/gen/link/plat_fx_wait.c src/omega_gpu_mem_reserve.c src/omega_gpu_fmt.c src/omega_blackwell_qmd.c src/omega_ampere_qmd.c src/cudapp_freest_revision.c src/cudapp_freest_epoch.c src/cudapp_freest_f16.c src/omega_gpu_mem_cached.c src/omega_gpu_cmdlist.c src/omega_blackwell_codegen.c src/cudapp_om_ampere_enc_sm86.c src/cudapp_om_amp_runtime.c src/cudapp_om_attn_mirror_plan.c src/cudapp_om_attn_mirror_step.c src/cudapp_om_binding.c src/cudapp_om_bw_enc_sm121.c src/cudapp_om_cache_runtime.c src/cudapp_om_closure_alloc.c src/cudapp_om_closure_bind.c src/cudapp_om_closure_blob.c src/cudapp_om_closure_code.c src/cudapp_om_closure_cover.c src/cudapp_om_closure_dir.c src/cudapp_om_closure_intent.c src/cudapp_om_closure_launch.c src/cudapp_om_closure_pack.c src/cudapp_om_closure_reseal.c src/cudapp_om_closure_seal.c src/cudapp_om_closure_series.c src/cudapp_om_code_digest.c src/cudapp_om_command.c src/cudapp_om_compose.c src/cudapp_om_context_lookup.c src/cudapp_om_cubin_elf.c src/cudapp_om_digest.c src/cudapp_om_encode.c src/cudapp_om_graph.c src/cudapp_om_lease.c src/cudapp_om_mathlibs_ir.c src/cudapp_om_moe_admission.c src/cudapp_om_moe_group.c src/cudapp_om_moe_ids32.c src/cudapp_om_moe_maps32.c src/cudapp_om_moe_plan.c src/cudapp_om_moe_segs32.c src/cudapp_om_moe_windows.c src/cudapp_om_nvrm_heap_wire.c src/cudapp_om_nvrm_transport.c src/cudapp_om_nvrm_uvm_map_wire.c src/cudapp_om_nvrm_uvm_wire.c src/cudapp_om_nvrm_wire_pack.c src/cudapp_om_nvrm_wire_reply.c src/cudapp_om_plat_policy.c src/cudapp_om_plat_rest.c src/cudapp_om_prefill_order.c src/cudapp_om_prefill_reading.c src/cudapp_om_prefill_shape.c src/cudapp_om_prefill_workspace.c src/cudapp_om_q38_emit.c src/cudapp_om_q38_runtime.c src/cudapp_om_quant_wire.c src/cudapp_om_repack.c src/cudapp_om_slotrev.c src/cudapp_om_templates.c src/cudapp_om_validate.c src/omega_blackwell_encoder.c src/omega_blackwell_matmul.c src/omega_blackwell_realize.c src/sha256.c -lm |
| 18 | Aborted (core dumped) |
| 19 | PASS platform linux wait mutant caught |
| 20 | KILLED page-round |
| 21 | KILLED cursor-floor |
| 22 | KILLED marker-slash |
| 23 | mutant release-when-latched killed: 2 case(s) failed |
| 24 | KILLED marker-letter |
| 25 | KILLED stale-generation |
| 26 | KILLED time-scale |
| 27 | mutant ignore-cancel killed: 1 case(s) failed |
| 28 | KILLED queue-bound |
| 29 | KILLED sleep-remainder |
| 30 | PASS platform rest mutants (8 killed) |
| 31 | mutant no-latch-on-timeout killed: 4 case(s) failed |
| 32 | mutant stale-not-counted killed: 1 case(s) failed |
| 33 | mutant marker-not-polled killed: 7 case(s) failed |
| 34 | mutant close-while-latched killed: 3 case(s) failed |
| 35 | mutant recover-keeps-latch killed: 1 case(s) failed |
| 36 | mutant recover-without-close killed: 3 case(s) failed |
| 37 | mutant recover-when-not-latched killed: 1 case(s) failed |
| 38 | mutant recover-ignores-teardown-fault killed: 1 case(s) failed |
| 39 | mutant recover-ignores-module-latch killed: 1 case(s) failed |
| 40 | test-gpu-session-mutants: 11 of 11 mutants killed |
| 41 | ./build/test_omega_gpu_session_platform |
| 42 | PASS INSTALL_REFUSALS_ABI_1_1 |
| 43 | PASS FREESTANDING_NO_DEFAULT_PLATFORM |
| 44 | PASS OPEN_LAUNCH_CLOSE_TYPED_UNCACHED_POLLING |
| 45 | PASS OPEN_FAILURE_KEEPS_DRIVER_TEXT |
| 46 | PASS CANCEL_BEFORE_SUBMIT_NOT_LATCHED |
| 47 | PASS CANCEL_AFTER_SUBMIT_LATCHES_AND_PARKS |
| 48 | PASS TIMEOUT_PARKS_NEVER_RELEASES |
| 49 | PASS TIMEOUT_LATCH_REFUSES_CLOSE_REOPEN_INSTALL |
| 50 | PASS TIMEOUT_RECOVER_SAME_PROCESS |
| 51 | PASS RECOVER_TEARDOWN_FAULT_STAYS_LATCHED |
| 52 | PASS RECOVER_MODULE_LATCH |
| 53 | PASS STALE_HANDLE_REFUSED_AFTER_CLOSE_REOPEN |
| 54 | PASS SERVING_RESERVATION_REFUSES_WITHOUT_ALLOC |
| 55 | PASS MATMUL_CODE_BUFFER_ENCODED_IN_PLACE |
| 56 | PASS WAIT_REFUSES_WITHOUT_CLOCK |
| 57 | PASS FMT_BOUNDED_MATCHES_SNPRINTF |
| 58 | test_omega_gpu_session_platform: 16 passed, 0 failed |
| 59 | ./build/test_omega_gpu_platform_linux |
| 60 | PASS LINUX_REF_CAPS_NO_MMIO_NO_IRQ |
| 61 | PASS HOSTED_DEFAULT_IS_LINUX_REFERENCE |
| 62 | PASS SAME_DRIVER_CALLS_AND_ORDER_AS_BEFORE |
| 63 | PASS REFERENCE_REFUSALS_CACHED_POLLED_RING_STALE |
| 64 | PASS OPEN_FAILURE_KEEPS_DRIVER_TEXT |
| 65 | PASS MARKER_NEVER_LATCHES_AND_PARKS |
| 66 | PASS L2_INVAL_PREFIX_ONCE_AFTER_CACHED_HOST_WRITE |
| 67 | PASS CMDLIST_NEAR_CAP_SUBMITS_WITH_L2_INVAL_PENDING |
| 68 | refusal: dma_alloc: refused 2.0 MiB: 4.0 GiB of memory is free and CUDA++ keeps 4.0 GiB free (CUDAPP_MEM_RESERVE_MIB=4096), because the CPU and GPU share it and running it out freezes the machine. Free buffers or use a smaller batch. |
| 69 | session: dma_alloc: refused 2.0 MiB: 4.0 GiB of memory is free and CUDA++ keeps 4.0 GiB free (CUDAPP_MEM_RESERVE_MIB=4096), because the CPU and GPU share it and running it out freezes the machine. Free buffers or use a smaller batch. |
| 70 | PASS D1_MEMORY_RESERVE_REFUSES_BEFORE_THE_DRIVER |
| 71 | PASS QUEUE_SUBMIT_REFUSED_WHILE_UNRETIRED |
| 72 | PASS EXTRA_QUEUE_SUBMIT_REFUSED_WHILE_UNRETIRED |
| 73 | submits 1, error: cmdlist: marker wait timed out (latched) |
| 74 | PASS CMDLIST_TIMEOUT_LATCHES_WITHOUT_LAUNCH_BEHIND_IT |
| 75 | PASS ZERO_TIMEOUT_REFUSED_BEFORE_SUBMIT |
| 76 | refusal: dma_alloc: refused 0.0 MiB: 4.0 GiB of memory is free and CUDA++ keeps 17179869184.0 GiB free (CUDAPP_MEM_RESERVE_MIB=17592186044416), because the CPU and GPU share it and running it out freezes the machine. Free buffers or use a smaller batch. |
| 77 | PASS D1_RESERVE_AND_MEMINFO_OVERFLOW_SATURATE |
| 78 | PASS AMPERE_D1_USES_VRAM_REFUSES_BEFORE_RM_ALLOC |
| 79 | PASS AMPERE_REJECTS_IMPLICIT_OR_MISMATCHED_LAUNCH_TARGET |
| 80 | test meminfo regular file (honoured): read |
| 81 | test meminfo symlink to that file: /proc/meminfo read, refused |
| 82 | test meminfo FIFO: /proc/meminfo read, refused |
| 83 | test meminfo directory: /proc/meminfo read, refused |
| 84 | test meminfo missing file: /proc/meminfo read, refused |
| 85 | test meminfo empty (restores /proc/meminfo): /proc/meminfo read, refused |
| 86 | test meminfo regular file again (honoured): read |
| 87 | test meminfo NULL (restores /proc/meminfo): /proc/meminfo read, refused |
| 88 | env CUDAPP_MEMINFO=<fake>: ignored, refused |
| 89 | PASS D1_MEMINFO_TEST_PATH_REGULAR_ENV_IGNORED |
| 90 | test_omega_gpu_platform_linux (reference only, simulated driver): 17 passed, 0 failed |
| 91 | ./build/test_nvrm_va_slots |
| 92 | [PASS] va_two_slots_adjacent |
| 93 | [PASS] va_whole_slot_fits |
| 94 | slot A full, next take: 0x0 (slot B starts at 0x1100000000) |
| 95 | [PASS] va_slot_full_refused_not_into_next_slot |
| 96 | [PASS] va_last_slot_grows_past_4gib |
| 97 | after B took 8 GiB, next slot: 0x1300000000 (B ends at 0x1300000000) |
| 98 | [PASS] va_next_slot_after_grown_slot |
| 99 | [PASS] va_grown_slot_cannot_grow_into_later_slot |
| 100 | [PASS] va_later_slot_still_usable |
| 101 | [PASS] close_first |
| 102 | [PASS] close_fds_cleared |
| 103 | reused fd 5 (fd_ctl was 5) |
| 104 | [PASS] close_twice_leaves_reused_fd_open |
| 105 | SUMMARY passed=10 failed=0 |
| 106 | |
| 107 | rc=0 |