Skip to content

Benchmark of different matrix multiplication algorithms, both sequential and parallel, using Rust

Notifications You must be signed in to change notification settings

lorenzofelletti/rust_matrix_multiplication_benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Matrix Multiplication Benchmark

This is a simple benchmark for matrix multiplication. It is written in Rust and allows to compare the performance of different matrix multiplication algorithms. Specifically, it compares the performance of the following algorithms:

  • Matrix multiplication with ijk loop order
  • Matrix multiplication with ikj loop order
  • Matrix multiplication with parallelized i loop (ikj loop order)
  • Matrix multiplication with tilings (ikj loop order).

It is possible to configure options such as the size of the matrices, the number of threads, and the tile size.

This repository was inspired from the Mit OCW 6.172 course, lecture 1 in particular.

About

Benchmark of different matrix multiplication algorithms, both sequential and parallel, using Rust

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages