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

[For Ayaka, should not be merged] Pedro's matrix multiplication algorithms #2419

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

pedropontesgarcia
Copy link
Collaborator

This PR is for Ayaka to review and should not be merged!

I added two algorithms for matrix multiplication, one that is specific to 2x2 matrices and uses a lot of parallelism, taking 14 cycles, and another one that implements a standard matrix multiplication algorithm for matrices of any size using while loops, taking over 100 cycles. I also added test cases for them using Runt, which can be run with runt -i matrixmult from the repository root.

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