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-costmodel-rest / focused-final.log
| 1 | $ bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10 make -j3 test-costmodel test-dagsim test-cm-decision-differential test-cm-source-mutants |
| 2 | 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 -I./third_party/aien-gpu-abi1 -DCUDAPP_MIGRATION_PENDING_GEMM_EX=1 -ffp-contract=off -Isrc -o build/cm_route_oracle tests/runtime/cm_route_oracle.c src/cudapp_om_cm_sort.c src/cudapp_om_cm_math.c src/cudapp_om_cm_fit.c src/cudapp_om_cm_stats.c src/cudapp_om_cm_features.c src/cudapp_om_cm_quantile.c src/cudapp_om_cm_decision.c src/cudapp_om_cm_prediction.c src/cudapp_om_cm_calibration.c src/cudapp_om_cm_blob.c src/cudapp_om_cm_digest.c src/cudapp_om_cm_route.c src/sha256.c -lm |
| 3 | ./build/dagsim_unit |
| 4 | ./build/cm_decision_diff |
| 5 | dagsim_unit: 203 checks, 0 failed |
| 6 | sh tests/dagsim/run_cli.sh build/dagsim build/dagsim-cli-out |
| 7 | run_cli: ok eval exits 0 on the pinned M1 subset |
| 8 | run_cli: ok status OK |
| 9 | run_cli: ok serial makespan 20000 + 40736700 + 111000000 ns |
| 10 | run_cli: ok makespan is above its bounds |
| 11 | run_cli: ok energy UNMEASURED without an instrument |
| 12 | run_cli: ok offline: no GPU execution |
| 13 | run_cli: ok provenance list names measured and specified only |
| 14 | run_cli: ok second run byte-identical |
| 15 | run_cli: ok unknown-trace fixture exits 1 |
| 16 | run_cli: ok unknown stays unknown (REFUSED_UNKNOWN) |
| 17 | run_cli: ok no makespan printed on refusal |
| 18 | run_cli: ok 30-day calibration refused at 43 days |
| 19 | run_cli: ok synthetic power is labelled, not ranked |
| 20 | run_cli: ok energy ranking invalid on synthetic power |
| 21 | run_cli: ok overlap fixture evaluates |
| 22 | run_cli: ok split copy: busy time binds, 40756700 + 55500000 ns |
| 23 | run_cli: ok pareto exits 0 |
| 24 | run_cli: ok refused candidate shown as refused in the table |
| 25 | run_cli: ok faster candidate is on the front |
| 26 | run_cli: ok dominated candidate is off the front |
| 27 | run_cli: ok pareto says energy is not ranked |
| 28 | run_cli: ok reuse diff OK |
| 29 | run_cli: ok 200 ns of search moved to the reused ledger |
| 30 | run_cli: ok unproven elimination exits 1 |
| 31 | run_cli: ok unproven elimination refused |
| 32 | run_cli: ok no-change fixture adds no nodes |
| 33 | run_cli: ok inverted lifetime exits 1 |
| 34 | run_cli: ok inverted lifetime status |
| 35 | run_cli: ok inverted reason names first=C |
| 36 | run_cli: ok inverted reason names last=A |
| 37 | run_cli: ok no makespan on inverted refusal |
| 38 | run_cli: ok lone inverted lifetime exits 1 |
| 39 | run_cli: ok lone inverted is not peak 0 |
| 40 | run_cli: ok two overlapping 80 B buffers exit 1 |
| 41 | run_cli: ok overlap is REFUSED_CAPACITY |
| 42 | run_cli: ok disjoint 80 B pair exits 0 |
| 43 | run_cli: ok disjoint pair OK |
| 44 | run_cli: ok disjoint peak 80 |
| 45 | run_cli: ok completion/allocation tie exits 0 |
| 46 | run_cli: ok tie OK |
| 47 | run_cli: ok tie peak 80 |
| 48 | run_cli: ok pareto with a refused lifetime exits 0 |
| 49 | run_cli: ok inverted row is refused, not ranked OK |
| 50 | run_cli: ok valid row still ranked |
| 51 | run_cli: outputs in build/dagsim-cli-out |
| 52 | sh tests/dagsim/mutant_lifetime.sh |
| 53 | CC="cc" python3 tests/runtime/cm_source_mutants.py |
| 54 | mutant killed: inverted_lifetime_masks_overflow |
| 55 | sh tests/dagsim/mutant_predict.sh |
| 56 | CM DECISION verifier control PASS: assertion-disabled build refused |
| 57 | CM SOURCE mutant caught: cm_features rc=1 FAIL /home/drakestapleton/work/cudastack/lanes/CostPlatRest/tests/runtime/rx_costmodel_unit.c:511 unsupported-op-not-aliased-to-matvec |
| 58 | mutant killed: predict_unsupported_despite_known predict_refused_despite_known |
| 59 | ./build/cm_route_unit |
| 60 | PASS cm route source-partition differential (block, tail, layout, ABI refusal) |
| 61 | ./build/cm_route_oracle |
| 62 | PASS cm route C oracle, SHA block boundaries and blob transport |
| 63 | FAIL cm route block plan |
| 64 | python3 tests/runtime/cm_route_mutants.py |
| 65 | KILLED block-divisor |
| 66 | KILLED tail-divisor |
| 67 | KILLED tail-offset |
| 68 | KILLED layout-count |
| 69 | KILLED layout-add |
| 70 | KILLED dispatch |
| 71 | PASS cm route mutants (6 killed) |
| 72 | ./build/rx_costmodel_unit |
| 73 | held-out synthetic (truth in basis): rmse 0.085 log2 (noise 0.08), coverage 80%: 0.825, 95%: 0.964 |
| 74 | held-out synthetic (truth outside basis): rmse 0.093 log2 (noise 0.08), coverage 80%: 0.945, 95%: 0.997 |
| 75 | calibration scale after drift: 3.23 |
| 76 | 80% coverage on later, drifted data: 0.323 before calibration, 0.820 after |
| 77 | model blob: 28112 bytes |
| 78 | checks 127 failures 0 |
| 79 | CM LIBM actual-inputs mode=1 calls=332606 max_ulp=1 input=3ff0fbf55f8bbeaf candidate=3fb60c1ef82f0909 glibc=3fb60c1ef82f0908 |
| 80 | CM LIBM actual-inputs mode=2 calls=1 max_ulp=0 input=0000000000000000 candidate=0000000000000000 glibc=0000000000000000 |
| 81 | CM LIBM actual-inputs mode=3 calls=14025 max_ulp=1 input=bfa53cdaf881f386 candidate=3feeb325c9a99db2 glibc=3feeb325c9a99db3 |
| 82 | CM LIBM actual-inputs mode=4 calls=20931 max_ulp=1 input=4042815aaf6527ba candidate=42401e25fcdb3a52 glibc=42401e25fcdb3a51 |
| 83 | CM LIBM actual-inputs mode=5 calls=411586 max_ulp=0 input=0000000000000000 candidate=0000000000000000 glibc=0000000000000000 |
| 84 | CM LIBM actual-inputs mode=6 calls=28050 max_ulp=2 input=3fea66d1c80fe481 candidate=3fcf242eccf286be glibc=3fcf242eccf286c0 |
| 85 | CM LIBM actual-inputs mode=7 calls=300 max_ulp=0 input=0000000000000000 candidate=0000000000000000 glibc=0000000000000000 |
| 86 | CM DECISION differential PASS decisions=21058 predictions=8617 max_numeric_ulp=0 field=none candidate=0x0p+0 oracle=0x0p+0 |
| 87 | CM STATE differential PASS initializations=21 observations=4083 calibrations=3 charges=4 |
| 88 | CM contraction control PASS (contraction-on oracle rejected) |
| 89 | CM_DIFF_REPLAY=build/cm_decision_max.case CM_DIFF_THRESHOLD_PROBE=1 ./build/cm_decision_replay |
| 90 | CM DECISION threshold probe EI candidate=0x1.e347c758fe6aap+4 oracle=0x1.e347c758fe6aap+4 |
| 91 | CM LIBM actual-inputs mode=1 calls=96 max_ulp=0 input=0000000000000000 candidate=0000000000000000 glibc=0000000000000000 |
| 92 | CM LIBM actual-inputs mode=3 calls=8 max_ulp=0 input=0000000000000000 candidate=0000000000000000 glibc=0000000000000000 |
| 93 | CM LIBM actual-inputs mode=4 calls=10 max_ulp=0 input=0000000000000000 candidate=0000000000000000 glibc=0000000000000000 |
| 94 | CM LIBM actual-inputs mode=5 calls=192 max_ulp=0 input=0000000000000000 candidate=0000000000000000 glibc=0000000000000000 |
| 95 | CM LIBM actual-inputs mode=6 calls=16 max_ulp=1 input=3ff1f487fecfa9c9 candidate=3fbccd2d29827c69 glibc=3fbccd2d29827c68 |
| 96 | CM DECISION differential PASS decisions=1 predictions=0 max_numeric_ulp=0 field=none candidate=0x0p+0 oracle=0x0p+0 |
| 97 | CM STATE differential PASS initializations=0 observations=0 calibrations=0 charges=0 |
| 98 | CM SOURCE mutant caught: cm_stats rc=1 FAIL /home/drakestapleton/work/cudastack/lanes/CostPlatRest/tests/runtime/rx_costmodel_unit.c:163 80% interval covers 0.660 |
| 99 | held-out synthetic (truth in basis): rmse 0.085 log2 (noise 0.08), coverage 80%: 0.825, 95%: 0.964 |
| 100 | held-out synthetic (truth outside basis): rmse 0.093 log2 (noise 0.08), coverage 80%: 0.945, 95%: 0.997 |
| 101 | calibration scale after drift: 3.23 |
| 102 | 80% coverage on later, drifted data: 0.323 before calibration, 0.820 after |
| 103 | model blob: 28112 bytes |
| 104 | checks 127 failures 0 |
| 105 | mutant restore-op-clamp: killed by unsupported-op-not-aliased-to-matvec (exit 1) |
| 106 | CM SOURCE mutant caught: cm_fit rc=1 FAIL /home/drakestapleton/work/cudastack/lanes/CostPlatRest/tests/runtime/rx_costmodel_unit.c:163 80% interval covers 1.000 |
| 107 | CM SOURCE mutant caught: cm_quantile rc=1 FAIL /home/drakestapleton/work/cudastack/lanes/CostPlatRest/tests/runtime/rx_costmodel_unit.c:163 80% interval covers 0.000 |
| 108 | CM SOURCE mutant caught: cm_prediction rc=1 FAIL /home/drakestapleton/work/cudastack/lanes/CostPlatRest/tests/runtime/rx_costmodel_unit.c:163 80% interval covers 1.000 |
| 109 | CM SOURCE mutant caught: cm_decision rc=1 FAIL /home/drakestapleton/work/cudastack/lanes/CostPlatRest/tests/runtime/rx_costmodel_unit.c:180 empty model measures |
| 110 | CM DECISION verifier control PASS: discrete action mutant caught |
| 111 | CM SOURCE mutant caught: cm_calibration rc=1 FAIL /home/drakestapleton/work/cudastack/lanes/CostPlatRest/tests/runtime/rx_costmodel_unit.c:390 drift widens the spread (1.00) |
| 112 | CM SOURCE mutant caught: cm_blob rc=-6 cm_blob-unit: /home/drakestapleton/work/cudastack/lanes/CostPlatRest/tests/runtime/cm_blob_unit.c:92: main: Assertion `!memcmp(words+16, expected, sizeof expected)' failed. |
| 113 | CM SOURCE mutant caught: cm_digest rc=-6 cm_digest-unit: /home/drakestapleton/work/cudastack/lanes/CostPlatRest/tests/runtime/cm_blob_unit.c:66: main: Assertion `!memcmp(actual, expected, 32)' failed. |
| 114 | CM SOURCE mutant caught: cm_math rc=1 CM MATH differential FAIL errors=38962 |
| 115 | CM SOURCE mutants PASS (10 attributed arithmetic/header/digest/decision mutants) |
| 116 | |
| 117 | rc=0 |