feat: add RVV non-batch and batch distance operators#451
Open
ihb2032 wants to merge 6 commits into
Open
Conversation
ihb2032
force-pushed
the
feat/rvv-distance-ops
branch
from
June 2, 2026 10:10
7ca2929 to
d781123
Compare
ihb2032
force-pushed
the
feat/rvv-distance-ops
branch
2 times, most recently
from
June 3, 2026 04:16
598935b to
b22a5ce
Compare
ihb2032
force-pushed
the
feat/rvv-distance-ops
branch
7 times, most recently
from
June 9, 2026 09:25
cf18156 to
af8479c
Compare
Collaborator
|
Hi, @ihb2032. I noticed some changes to the third-party files in this PR. Could you share a bit of context on the motivation behind this? My main concern is that these local changes might get overwritten or cause conflicts during future library upgrades. |
ihb2032
force-pushed
the
feat/rvv-distance-ops
branch
11 times, most recently
from
June 16, 2026 01:00
40ee05a to
68ef0b5
Compare
ihb2032
force-pushed
the
feat/rvv-distance-ops
branch
from
June 25, 2026 00:18
a88c130 to
895e70e
Compare
ihb2032
force-pushed
the
feat/rvv-distance-ops
branch
from
July 3, 2026 00:29
895e70e to
cdfda04
Compare
ihb2032
force-pushed
the
feat/rvv-distance-ops
branch
2 times, most recently
from
July 7, 2026 23:51
cdfda04 to
f02cd6f
Compare
Signed-off-by: ihb2032 <hebome@foxmail.com>
ihb2032
force-pushed
the
feat/rvv-distance-ops
branch
from
July 17, 2026 00:49
f02cd6f to
b34c57f
Compare
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.
Summary
Add RISC-V Vector optimized distance operators for both single and batch computation paths.
This PR introduces RVV implementations for supported distance operators and wires them into the existing CPU feature dispatch flow. Existing x86 SIMD and fallback implementations remain unchanged.
Changes
Related Issue
Closes #357