Skip to content

Fix dispatch mismatch in sort_test vs vqsort, fixes #3188#3190

Merged
copybara-service[bot] merged 1 commit into
masterfrom
test_942159491
Jul 4, 2026
Merged

Fix dispatch mismatch in sort_test vs vqsort, fixes #3188#3190
copybara-service[bot] merged 1 commit into
masterfrom
test_942159491

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Fix dispatch mismatch in sort_test vs vqsort, fixes #3188

VQSort is compiled with its own dispatch table whereas the test is compiled for all targets. This means SCALAR thinks f64 is supported and calls vqsort, which has no target supporting f64, causing an assert.
Instead create new HaveFloat16/64 accessors that return the actual status for which VQSort was compiled.
Also update armv7 compiler for test.

@copybara-service
copybara-service Bot force-pushed the test_942159491 branch 3 times, most recently from aa5ce94 to 3e6baa2 Compare July 4, 2026 06:12
VQSort is compiled with its own dispatch table whereas the test is compiled for all targets. This means SCALAR thinks f64 is supported and calls vqsort, which has no target supporting f64, causing an assert.
Instead create new HaveFloat16/64 accessors that return the actual status for which VQSort was compiled.
Also update armv7 compiler for test.

PiperOrigin-RevId: 942376939
@copybara-service
copybara-service Bot merged commit 4f84616 into master Jul 4, 2026
@copybara-service
copybara-service Bot deleted the test_942159491 branch July 4, 2026 06:22
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.

2/974 tests fail on armv7

1 participant