codersam108 / Matrix_Multiplication_HPX

This program demonstrates Parallel Matrix Multiplication with HPX.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Matrix Multiplication with HPX

This C++ program demonstrates Parallel matrix multiplication using the HPX (High Performance ParalleX) library. Matrix multiplication is a fundamental operation in linear algebra and is often used in various scientific and engineering applications.

Overview

The program initializes two matrices, matA and matB, and performs matrix multiplication using HPX's parallel for-loop construct. It divides the work of multiplying each row of matA with each column of matB among multiple threads for parallel execution.

I first made the program without HPX using simple logic of matrix multiplication in c++ and then integrated with HPX.

About

This program demonstrates Parallel Matrix Multiplication with HPX.


Languages

Language:C++ 41.9%Language:C 40.1%Language:CMake 18.1%