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 / 2026-11-06-costmodel-rest / focused.log

136 lines · 16584 bytes Raw Blame History
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
2mkdir -p build
3CC="cc" python3 tests/runtime/cm_source_mutants.py
4CM DECISION verifier control PASS: assertion-disabled build refused
5CM 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
6CM 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
7CM 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
8CM 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
9CM 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
10CM SOURCE mutant caught: cm_decision rc=1 FAIL /home/drakestapleton/work/cudastack/lanes/CostPlatRest/tests/runtime/rx_costmodel_unit.c:180 empty model measures
11CM DECISION verifier control PASS: discrete action mutant caught
12CM 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)
13CM 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.
14CM 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.
15CM SOURCE mutant caught: cm_math rc=1 CM MATH differential FAIL errors=38962
16CM SOURCE mutants PASS (10 attributed arithmetic/header/digest/decision mutants)
17cc -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 -c -o build/rx_costmodel.o src/runtime/rx_costmodel.c
18cc -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_unit tests/runtime/cm_route_unit.c
19cc -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 -Itools/dagsim -c -o build/dagsim.o tools/dagsim/dagsim.c
20cc -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 -c -o build/cm_oracle_diff.o tests/runtime/cm_oracle.c
21cc -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=fast -c -o build/cm_oracle_contracted.o tests/runtime/cm_oracle.c
22cc -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 -o build/rx_costmodel_unit tests/runtime/rx_costmodel_unit.c build/rx_costmodel.o src/sha256.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 -lm
23./build/cm_route_unit
24PASS cm route source-partition differential (block, tail, layout, ABI refusal)
25FAIL cm route block plan
26python3 tests/runtime/cm_route_mutants.py
27KILLED block-divisor
28KILLED tail-divisor
29KILLED tail-offset
30cc -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 -o build/cm_decision_diff tests/runtime/rx_costmodel_unit.c tests/runtime/cm_decision_diff.c build/cm_oracle_diff.o build/rx_costmodel.o 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 -Wl,--wrap=rx_cm_decide -Wl,--wrap=rx_cm_predict -Wl,--wrap=rx_cm_init -Wl,--wrap=rx_cm_observe -Wl,--wrap=rx_cm_calibrate -Wl,--wrap=rx_cm_charge -lm
31KILLED layout-count
32KILLED layout-add
33KILLED dispatch
34PASS cm route mutants (6 killed)
35cc -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 -DCM_DIFF_REPLAY_MAIN -o build/cm_decision_replay tests/runtime/cm_decision_diff.c build/cm_oracle_diff.o build/rx_costmodel.o 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 -Wl,--wrap=rx_cm_decide -Wl,--wrap=rx_cm_predict -Wl,--wrap=rx_cm_init -Wl,--wrap=rx_cm_observe -Wl,--wrap=rx_cm_calibrate -Wl,--wrap=rx_cm_charge -lm
36cc -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 -DCM_DIFF_REPLAY_MAIN -DCM_DIFF_OUTPUT_ONLY -o build/cm_decision_contracted tests/runtime/cm_decision_diff.c build/cm_oracle_contracted.o build/rx_costmodel.o 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 -Wl,--wrap=rx_cm_decide -Wl,--wrap=rx_cm_predict -lm
37./build/rx_costmodel_unit
38cc -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 -Itools/dagsim -o build/dagsim_unit tests/dagsim/dagsim_unit.c build/dagsim.o build/rx_costmodel.o src/sha256.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 -Wl,--wrap=rx_cm_predict -lm
39cc -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 -Itools/dagsim -o build/dagsim tools/dagsim/dagsim_cli.c build/dagsim.o build/rx_costmodel.o src/sha256.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 -lm
40./build/cm_decision_diff
41./build/dagsim_unit
42dagsim_unit: 203 checks, 0 failed
43sh tests/dagsim/run_cli.sh build/dagsim build/dagsim-cli-out
44run_cli: ok eval exits 0 on the pinned M1 subset
45run_cli: ok status OK
46run_cli: ok serial makespan 20000 + 40736700 + 111000000 ns
47run_cli: ok makespan is above its bounds
48run_cli: ok energy UNMEASURED without an instrument
49run_cli: ok offline: no GPU execution
50run_cli: ok provenance list names measured and specified only
51run_cli: ok second run byte-identical
52run_cli: ok unknown-trace fixture exits 1
53run_cli: ok unknown stays unknown (REFUSED_UNKNOWN)
54run_cli: ok no makespan printed on refusal
55run_cli: ok 30-day calibration refused at 43 days
56run_cli: ok synthetic power is labelled, not ranked
57run_cli: ok energy ranking invalid on synthetic power
58run_cli: ok overlap fixture evaluates
59run_cli: ok split copy: busy time binds, 40756700 + 55500000 ns
60run_cli: ok pareto exits 0
61run_cli: ok refused candidate shown as refused in the table
62run_cli: ok faster candidate is on the front
63run_cli: ok dominated candidate is off the front
64run_cli: ok pareto says energy is not ranked
65run_cli: ok reuse diff OK
66run_cli: ok 200 ns of search moved to the reused ledger
67run_cli: ok unproven elimination exits 1
68run_cli: ok unproven elimination refused
69run_cli: ok no-change fixture adds no nodes
70run_cli: ok inverted lifetime exits 1
71run_cli: ok inverted lifetime status
72run_cli: ok inverted reason names first=C
73run_cli: ok inverted reason names last=A
74run_cli: ok no makespan on inverted refusal
75run_cli: ok lone inverted lifetime exits 1
76run_cli: ok lone inverted is not peak 0
77run_cli: ok two overlapping 80 B buffers exit 1
78run_cli: ok overlap is REFUSED_CAPACITY
79run_cli: ok disjoint 80 B pair exits 0
80run_cli: ok disjoint pair OK
81run_cli: ok disjoint peak 80
82run_cli: ok completion/allocation tie exits 0
83run_cli: ok tie OK
84run_cli: ok tie peak 80
85run_cli: ok pareto with a refused lifetime exits 0
86run_cli: ok inverted row is refused, not ranked OK
87run_cli: ok valid row still ranked
88run_cli: outputs in build/dagsim-cli-out
89sh tests/dagsim/mutant_lifetime.sh
90 held-out synthetic (truth in basis): rmse 0.085 log2 (noise 0.08), coverage 80%: 0.825, 95%: 0.964
91 held-out synthetic (truth outside basis): rmse 0.093 log2 (noise 0.08), coverage 80%: 0.945, 95%: 0.997
92 calibration scale after drift: 3.23
93 80% coverage on later, drifted data: 0.323 before calibration, 0.820 after
94 model blob: 28112 bytes
95checks 127 failures 0
96/usr/bin/ld: /tmp/tmp.yGn1C1DbGd/rx_costmodel.o: in function `cm_sha256':
97rx_costmodel.c:(.text+0x6c0): undefined reference to `omega_cm_route'
98/usr/bin/ld: /tmp/tmp.yGn1C1DbGd/rx_costmodel.o: in function `quiet_predict':
99rx_costmodel.c:(.text+0x9ec): undefined reference to `omega_cm_route'
100/usr/bin/ld: /tmp/tmp.yGn1C1DbGd/rx_costmodel.o: in function `rx_cm_predict':
101rx_costmodel.c:(.text+0xd98): undefined reference to `omega_cm_route'
102/usr/bin/ld: rx_costmodel.c:(.text+0xe24): undefined reference to `omega_cm_route'
103/usr/bin/ld: /tmp/tmp.yGn1C1DbGd/rx_costmodel.o: in function `rx_cm_observe':
104rx_costmodel.c:(.text+0x119c): undefined reference to `omega_cm_route'
105/usr/bin/ld: /tmp/tmp.yGn1C1DbGd/rx_costmodel.o:rx_costmodel.c:(.text+0x122c): more undefined references to `omega_cm_route' follow
106collect2: error: ld returned 1 exit status
107make: *** [Makefile:728: test-dagsim] Error 1
108make: *** Waiting for unfinished jobs....
109mutant restore-op-clamp: killed by unsupported-op-not-aliased-to-matvec (exit 1)
110 held-out synthetic (truth in basis): rmse 0.085 log2 (noise 0.08), coverage 80%: 0.825, 95%: 0.964
111 held-out synthetic (truth outside basis): rmse 0.093 log2 (noise 0.08), coverage 80%: 0.945, 95%: 0.997
112 calibration scale after drift: 3.23
113 80% coverage on later, drifted data: 0.323 before calibration, 0.820 after
114 model blob: 28112 bytes
115checks 127 failures 0
116CM LIBM actual-inputs mode=1 calls=332606 max_ulp=1 input=3ff0fbf55f8bbeaf candidate=3fb60c1ef82f0909 glibc=3fb60c1ef82f0908
117CM LIBM actual-inputs mode=2 calls=1 max_ulp=0 input=0000000000000000 candidate=0000000000000000 glibc=0000000000000000
118CM LIBM actual-inputs mode=3 calls=14025 max_ulp=1 input=bfa53cdaf881f386 candidate=3feeb325c9a99db2 glibc=3feeb325c9a99db3
119CM LIBM actual-inputs mode=4 calls=20931 max_ulp=1 input=4042815aaf6527ba candidate=42401e25fcdb3a52 glibc=42401e25fcdb3a51
120CM LIBM actual-inputs mode=5 calls=411586 max_ulp=0 input=0000000000000000 candidate=0000000000000000 glibc=0000000000000000
121CM LIBM actual-inputs mode=6 calls=28050 max_ulp=2 input=3fea66d1c80fe481 candidate=3fcf242eccf286be glibc=3fcf242eccf286c0
122CM LIBM actual-inputs mode=7 calls=300 max_ulp=0 input=0000000000000000 candidate=0000000000000000 glibc=0000000000000000
123CM DECISION differential PASS decisions=21058 predictions=8617 max_numeric_ulp=0 field=none candidate=0x0p+0 oracle=0x0p+0
124CM STATE differential PASS initializations=21 observations=4083 calibrations=3 charges=4
125CM contraction control PASS (contraction-on oracle rejected)
126CM_DIFF_REPLAY=build/cm_decision_max.case CM_DIFF_THRESHOLD_PROBE=1 ./build/cm_decision_replay
127CM DECISION threshold probe EI candidate=0x1.e347c758fe6aap+4 oracle=0x1.e347c758fe6aap+4
128CM LIBM actual-inputs mode=1 calls=96 max_ulp=0 input=0000000000000000 candidate=0000000000000000 glibc=0000000000000000
129CM LIBM actual-inputs mode=3 calls=8 max_ulp=0 input=0000000000000000 candidate=0000000000000000 glibc=0000000000000000
130CM LIBM actual-inputs mode=4 calls=10 max_ulp=0 input=0000000000000000 candidate=0000000000000000 glibc=0000000000000000
131CM LIBM actual-inputs mode=5 calls=192 max_ulp=0 input=0000000000000000 candidate=0000000000000000 glibc=0000000000000000
132CM LIBM actual-inputs mode=6 calls=16 max_ulp=1 input=3ff1f487fecfa9c9 candidate=3fbccd2d29827c69 glibc=3fbccd2d29827c68
133CM DECISION differential PASS decisions=1 predictions=0 max_numeric_ulp=0 field=none candidate=0x0p+0 oracle=0x0p+0
134CM STATE differential PASS initializations=0 observations=0 calibrations=0 charges=0
135
136rc=2