辅导案例-SIT315
M3.T1P_Parallel_MPI_Matrix_Multiplication.md 7/7/2020
1 / 1
SIT315 Programming Paradigms
Module3 Distributed and Hybrid Programming
TaskM3.T1P: MPI, OpenMP and OpenCL Matrix Multiplication
Overview of the task
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.
See here (https://en.wikipedia.org/wiki/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
. Submit your task as detailed on the submission details section above to OnTrack.
51作业君 51作业君

Email:51zuoyejun

@gmail.com

添加客服微信: ITCSdaixie