Question
To fulfill the requirements of this task, you will need to demonstrate your skills to use MPI and OpenCL in C/C++ to speed up sequential
To fulfill the requirements of this task, you will need to demonstrate your skills to use MPI and OpenCL in C/C++ to speed up sequential program. In this task, we use matrix multiplication as the example problem. (use wikipedia matrix multiplication)
Submission Details Please make sure to provide the following:
Source code of the MPI matrix multiplication program,
Source code of the MPI and OpenMP (hybrid MPI to nodes and OpenMP in the nodes) program,
Source code of the MPI and OpenCL (hybrid MPI to nodes and OpenCL in the nodes) program, and
Evaluation of your program on different input sizes and number of threads in each of these three programs.
Instructions .
Modify your matrix multiplication program to use MPI to distribute work on nodes.
Evaluate the performance of your program vs sequential and multi-threaded solution. .
Modify your code to use OpenMP on the nodes. .
Evaluate the performance of your program vs the other two. .
Modify your code to use OpenCL. .
Evaluate the performance of your programs. .
Document your results and present your findings
I NEED 3 complete CODES FILES MENTIONED ABOVE ONLY USE C++
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started