Skip to content

feat: add RVV non-batch and batch distance operators#451

Open
ihb2032 wants to merge 4 commits into
alibaba:mainfrom
ihb2032:feat/rvv-distance-ops
Open

feat: add RVV non-batch and batch distance operators#451
ihb2032 wants to merge 4 commits into
alibaba:mainfrom
ihb2032:feat/rvv-distance-ops

Conversation

@ihb2032

@ihb2032 ihb2032 commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

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

  • Add RVV non-batch distance operators
  • Add RVV batch distance operators

Related Issue

Closes #357

@ihb2032 ihb2032 requested a review from iaojnh as a code owner June 2, 2026 09:32
@ihb2032 ihb2032 force-pushed the feat/rvv-distance-ops branch from 7ca2929 to d781123 Compare June 2, 2026 10:10
@ihb2032 ihb2032 removed their assignment Jun 2, 2026
@ihb2032 ihb2032 requested a review from chinaux as a code owner June 3, 2026 01:59
@ihb2032 ihb2032 force-pushed the feat/rvv-distance-ops branch 2 times, most recently from 598935b to b22a5ce Compare June 3, 2026 04:16
@ihb2032 ihb2032 requested a review from feihongxu0824 as a code owner June 3, 2026 04:16
@ihb2032 ihb2032 force-pushed the feat/rvv-distance-ops branch 6 times, most recently from ec93b55 to cf18156 Compare June 9, 2026 06:46
@ihb2032 ihb2032 force-pushed the feat/rvv-distance-ops branch from cf18156 to af8479c Compare June 9, 2026 09:25
@iaojnh

iaojnh commented Jun 9, 2026

Copy link
Copy Markdown
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.

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.

[Enhance]: Extend RVV acceleration coverage in ailego compute kernels

2 participants