Add four-point Kronecker multiplication - #9606
Open
kim-em wants to merge 9 commits into
Open
Conversation
Cost model: KS2 performs two packed integer multiplications at roughly half the KS1 bit width, plus linear packing, signed recovery, and interleaving. Slot width derives from min(size) * maxAbs(p) * maxAbs(q). The crossover sweep keeps this as a forced kernel because it rarely beats the existing KS1 implementation on the current grid.
# Conflicts: # scripts/bench/proof_only_runtime_exemptions.json
# Conflicts: # scripts/bench/proof_only_runtime_exemptions.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the SPEC KS4 kernel in
HexPolyZ:kronecker4_identityandmulKronecker4_eqwithout axioms or sorriesThe restored 276-cell sweep found KS4 slower than KS1 in every stable cell (3.09x median, 1.95x best). KS4 therefore remains a forced kernel and production dispatch is unchanged. The factorization runtime-freshness exemption records that exact fact.
Depends on #9605 (and transitively #9602). This targets upstream
mainper repository convention and includes the stacked base until those PRs merge.