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

Implement SIMD matrix multiplications #47

Draft
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

demianmnave
Copy link
Owner

Improve performance of specific functions by implementing SIMD versions. The scope will be modest for this pull request:

  • 4x4 double- and single-precision matrix-matrix products using AVX2
  • 4x1 double- and single-precision matrix-vector products using AVX2

After getting some practice with the basics, it may be prudent to use an existing library to extend support for other instruction sets. For example:

Fixes #20

@demianmnave demianmnave self-assigned this Dec 1, 2024
@demianmnave demianmnave added this to the vNext milestone Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CML matrix multiplication is terribly inefficient
1 participant