Skip to content

Perf: Split query distance argument conversion and the further distance computation in heuristic_prune_neighbors - #423

Draft
Vika-F wants to merge 1 commit into
intel:mainfrom
Vika-F:dev/dist_conversion
Draft

Vika-F wants to merge 1 commit into
intel:mainfrom
Vika-F:dev/dist_conversion

Conversation

@Vika-F

@Vika-F Vika-F commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

svs::distance::Convert class that performs ISA-specific the argument conversion was added.

The Convert::apply function assumes that the destination pointer is 64-byte aligned. This was done intentionally in order to use aligned loads in the distance computations further.

svs::distance::PreconvertedArgument class was added. It allows to allocate the storage for the pre-converted query argument once during the call to heuristic_prune_neighbors.

…nce compuation in heuristic prune

Signed-off-by: Victoriya Fedotova <victoriya.s.fedotova@intel.com>

This branch has not been deployed

No deployments
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