w4ll3 / Concorrente

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Concorrente

Available programs

  • Two matrix multiplication (2mm)
  • Matrix Multiplication (mm)
  • Red-Black SOR (rbsor)
  • LU Decomposition (ludec)

Building

To build any of the previous programs use make program where program is the desired one. To modify the problem size you can pass to make the desired size by make program SIZE=SIZE, in the header util.h. The available sizes are:

  • DEBUG (32)
  • MINI (512)
  • SMALL (1024)
  • MEDIUM (2048)
  • BIG (4096)
  • LARGE (8192)
  • GIANT (16384)
  • HUGE (32768)
  • WTF (65536)

If you want to make them all use make all.

Running

There is a bash script speedup.sh which requires three arguments:

  1. Program name
  2. Number of threads to start with
  3. Size to run the program

Once all defined use ./speedup.sh program threads size and be happy.

About

License:MIT License


Languages

Language:C 88.4%Language:Shell 9.0%Language:Makefile 1.6%Language:Objective-C 0.5%Language:Gnuplot 0.4%