Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an initial non-optimized ARM NEON kernel #30

Merged
merged 1 commit into from
Jan 2, 2024
Merged

Conversation

robertknight
Copy link
Owner

@robertknight robertknight commented Jan 2, 2024

This is just a copy of the base kernel that has been tweaked to take advantage of the extra available SIMD registers (32 instead of 16 as in SSE), use FMA instructions and unroll the inner loop.

On an AWS c6g.xlarge instance (Graviton 2, 4 vCPU) this achieves ~114 GFLOPS vs ~65 with the base kernel. For comparison OpenBLAS achieves ~150 GFLOPS.

Related issues: #18, #27

This is just a copy of the base kernel that has been tweaked to take advantage
of the extra available SIMD registers (32 instead of 16 as in SSE), use FMA
instructions and unroll the inner loop.

On an AWS c6g.xlarge instance (Graviton 2, 4 vCPU) this achieves ~114 GFLOPS vs
~65 with the base kernel. For comparison OpenBLAS achieves ~150 GFLOPS.
@robertknight robertknight merged commit 2d70ee8 into main Jan 2, 2024
1 check passed
@robertknight robertknight deleted the arm-gemm branch January 2, 2024 21:39
@robertknight robertknight mentioned this pull request Jan 2, 2024
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