Skip to content

A multi-threaded console application to perform [M × N] × [N × P] matrix multiplication to produce an [M × P] matrix using POSIX threads (pthreads).

Notifications You must be signed in to change notification settings

jh27539/MultiThreaded-Matrix-Multiplication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#Multi-Threaded Matrix Multiplication

A multi-threaded console application to perform [M × N] × [N × P] matrix multiplication to produce an [M × P] matrix using POSIX threads (pthreads).

OBJECTIVES

Reading the two input files must be done in parallel, using two threads spawned by the main thread. Each element of the resulted matrix is calculated by a unique thread. Once the multiplication is done, the parent thread (main thread) writes the resultant C matrix in the output file.

Compilation

Install QT libraries and use qmake to build this project. Posix requires you to compile using -lpthread, which you can add to the make file.

Useful website for calculating matrices http://wims.unice.fr/~wims/wims.cgi

Key Concepts and Techniques

-Structures -File Input/Ouput -Pointers -References -POSIX threads -Concurrency -Lists -Prototypes -Command Line Input Processing

About

A multi-threaded console application to perform [M × N] × [N × P] matrix multiplication to produce an [M × P] matrix using POSIX threads (pthreads).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published