Skip to content

Alphatensor4x4 and Matmul4x4 bril benchmarks tested against numpy - #291

Open
rcplane wants to merge 5 commits into
sampsyo:mainfrom
rcplane:matmul4x4
Open

Alphatensor4x4 and Matmul4x4 bril benchmarks tested against numpy#291
rcplane wants to merge 5 commits into
sampsyo:mainfrom
rcplane:matmul4x4

Conversation

@rcplane

@rcplane rcplane commented Sep 8, 2023

Copy link
Copy Markdown

Alphatensor fast vector matrix multiplication for 4x4 matrices procedures were extracted, then translated into bril with help from ChatGPT4 and manual proof editing of sample partial results. Results were checked using 36 pairs of random 4x4 matrices.
In a serial bril interpreter the increase in instruction count does not lead to faster execution, code optimization passes or a future simd extension could improve this.

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