You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: real-bug warnings + ISA-dispatch CMake stale ref
salvages the in-flight warning-cleanup pass. focuses on the warnings
that indicate genuine defects, leaves cosmetic conversion warnings
alone (-Wsign-conversion, -Wconversion, -Wfloat-conversion remain
for a separate pass).
real fixes:
- CMakeLists.txt: ISA-dispatch branch still referenced src/core/conv.c
(no longer exists post K.2 split). would break the dispatch build
on first user that turns AX_CPU_ISA_DISPATCH=ON. replaced with the
seven conv/*.c files matching the non-dispatch source list.
- cpu_opt.c: ax_cpu_opt_init_impl ignored fscanf return values (3
sites parsing /sys cache-info). added explicit lvl_ok / type_ok /
size_ok checks; on parse failure we skip the cache-index entry
instead of using uninitialised data.
- cpu_opt.c: ax_compute_proportional_chunks + opt_gemm_strassen_1lvl
are intentionally retained (scaffolding for future phases) but
triggered -Wunused-function. marked with __attribute__((unused))
+ a comment explaining why the symbol stays.
- attention.c: dropped pf_dbqkv from the profiling tracker tuple
(never read; the bias-grad accumulation goes through the same
pf_dwqkv counter).
- init.c: ax_init() called ax_calibrate_hybrid_crossover and
ax_measure_thread_speeds without a declaration. added the missing
#include "axiom/internal/compute_internal.h" + appended the two
decls to that header (they were defined in dispatch.c without a
prototype anywhere — implicit-function-declaration warning).
- conv/backward.c, bench_conv_suite.c, bench_ops_suite.c, test_conv.c:
misleading-indentation, unused-variable cleanups.
ci.yml: contains the M.3 valgrind job staged into local main from
the agent worktree merge prep — keeping it here so the next commit
(merge of ci/m3-valgrind-nightly) is a no-op merge.
verified: 29/29 ctest pass, no new warnings from the touched files.
remaining warning classes (deferred):
140 -Wsign-conversion (mostly int64_t↔size_t in tight loops)
38 -Wconversion (int64_t→double for FLOPs metric calc)
23 -Wfloat-conversion (RAND_MAX→float; bench bookkeeping)
16 -Wpedantic (mostly variadic-macro-extension in test asserts)
0 commit comments