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

Matmul2x2 #289

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

Matmul2x2 #289

wants to merge 4 commits into from

Conversation

rcplane
Copy link

@rcplane rcplane commented Sep 1, 2023

My original intention was to implement alphatensor based on this Rust implementation, but I hit a number of snags along the way. https://github.com/drbh/simd-alphatensor-rs
After a fair bit of attempting rs2bril I attempted to adapt directly in Bril using a past benchmark which generated random matrices to multiply. However, upon closer inspection with a specific matrix the multiplication seemed incorrect, more details of which can be provided in a separate patch.
https://github.com/sampsyo/bril/blob/main/benchmarks/mem/mat-mul.bril
Here then is a 2x2 float matrix multiplication benchmark, triple checked with Google and Python numpy.

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