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
{{ message }}
Repository navigation
Commit c412a33
Browse filesBrowse the repository at this point in the historyBrowse files
Version-guard the BA_pd_spd transpose cache (#115)
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.
Claude-Session: https://claude.ai/code/session_016rQ3LPdi31kNLmTy9F2oEa
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
0 commit comments