Skip to content

[fully-connected] Guard residual GEMM stride rounding - #11401

Open
anagnorisis2peripeteia wants to merge 1 commit into
google:masterfrom
anagnorisis2peripeteia:fully-connected-residual-rounding-hardening
Open

anagnorisis2peripeteia wants to merge 1 commit into
google:masterfrom
anagnorisis2peripeteia:fully-connected-residual-rounding-hardening

Conversation

@anagnorisis2peripeteia

Copy link
Copy Markdown
Contributor

Summary

  • Add checked round-up helpers for general and power-of-two sizes.
  • Guard residual fully-connected and dynamic fully-connected GEMM stride, alignment, workspace, and tile calculations.
  • Add regression tests for n-stride and k-stride overflow.

Tests

  • cmake --build build --target fully-connected-nc-test dynamic-fully-connected-nc-test -j2
  • ctest --test-dir build -R '^(fully-connected-nc-test|dynamic-fully-connected-nc-test)$' --output-on-failure

@anagnorisis2peripeteia
anagnorisis2peripeteia force-pushed the fully-connected-residual-rounding-hardening branch from cd946d9 to f987128 Compare September 26, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant