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
BA_pd_spd_fill_values refreshed B's cached transpose on every call. Now it
refreshes only when B's values_version has moved since the last fill; the
seen counter lives on the cache pd itself.
To make the guard sound, the two parameter-refresh paths that wrote pd
values silently (left_matmul refresh_dense_left, quad_form) now call
matrix_values_changed after their memcpys, per the matrix.h contract.
BA_spd_spd_fill_values passes spd blocks, which have no values_version of
their own (writers bump the owning spd), so it bypasses the guard and
refreshes unconditionally via BTA_pd_spd_fill_values.
Also fixes the stale comment on test_BA_pd_kron_spd_no_cache_staleness
(the cache it says was removed is back; the kron path is correct because
it bypasses the wrapper) and adds a refresh-on-bump regression test.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016rQ3LPdi31kNLmTy9F2oEa
0 commit comments