Skip to content

About

My personal project of learning gpu programming

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

42 Commits

Folders and files

Repository files navigation

CUDA Programming

Python benchmark plotter

plot_matmul.py runs the matrix-multiplication benchmark and plots its timing results.

Dependencies

  • Python 3.12 in the project's uv environment
  • matplotlib, installed with uv pip install matplotlib
  • mcr, an external command-line program that runs matmul.cu

mcr is not a Python package and cannot be installed from requirements.txt. It must be installed separately and available on the shell's PATH. Verify that the script can find it with:

command -v mcr

Run

source .venv/bin/activate
python plot_matmul.py

On every run, the script clears the existing files in plots/ and saves the new graph as plots/matmul_benchmark.png.

About

My personal project of learning gpu programming

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages