Skip to content

perf: adds AVX512 implementations of vector.Sum, vector.InnerProduct + assembly refactor#547

Merged
gbotrel merged 50 commits intomasterfrom
avx512/innerproduct
Oct 7, 2024
Merged

perf: adds AVX512 implementations of vector.Sum, vector.InnerProduct + assembly refactor#547
gbotrel merged 50 commits intomasterfrom
avx512/innerproduct

Conversation

@gbotrel
Copy link
Copy Markdown
Collaborator

@gbotrel gbotrel commented Sep 28, 2024

Description

In this PR:

Benchmarks

Benchmarks on size from 16 to 16M values.

Seems results are better on AMD EPYC 9R14 (hpc7a, c7a, r7a) than on the intel xeon 8488c (r7i, ...).

hpc7a
image

r7i
Screenshot 2024-10-03 at 2 29 02 PM
c7a
Screenshot 2024-10-03 at 2 28 49 PM

@gbotrel gbotrel requested review from ThomasPiellard, ivokub and yelhousni and removed request for ThomasPiellard September 28, 2024 16:24
@gbotrel gbotrel requested a review from Tabaie September 28, 2024 16:24
Copy link
Copy Markdown
Collaborator

@ivokub ivokub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Without trying to understand the assembly definitions, looks good to me. There are a few comments, but rather minor.

@gbotrel gbotrel merged commit e26bbdf into master Oct 7, 2024
@gbotrel gbotrel deleted the avx512/innerproduct branch October 7, 2024 14:56
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 participants