Skip to content

Bulk dot product with prefetching - #1

Closed
mccullocht wants to merge 3 commits into
mainfrom
prefetch-in-dot
Closed

mccullocht wants to merge 3 commits into
mainfrom
prefetch-in-dot

Conversation

@mccullocht

@mccullocht mccullocht commented Jul 9, 2025 •

Copy link
Copy Markdown
Owner

Score in groups of up to size 8, prefetching some stride ahead of the load pointer in each vector.

This is about 35% faster than the java implementation and about 30% faster than the earlier native implementation.

Without the prefetching code this is about 25% faster than the java implementation and 20% faster than native.

@mccullocht mccullocht closed this Mar 5, 2026
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