Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 592 Bytes

File metadata and controls

24 lines (17 loc) · 592 Bytes

GPU Matrix Multiplication

Multiply 2 square matrices using CPU or GPU.

Installation and Compilation

You need qmake to generate a makefile for this project. You probably want to change INCLUDEPATH and LIBS variables in the VersionRelease.pro qmake file, to specify the proper paths.

git clone https://github.com/NicolasCami/GPUMatrixMultiplication.git
cd GPUMatrixMultiplication
qmake -o Makefile VersionRelease.pro
make

Execute

You can specify the matrices size, and the unit used to multiply (CPU by default).

# max [size=4] [-gpu]
./max 2000 -gpu