Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Financial Reporting and Analysis

Authors: Flawrence Revsine, Daniel Collins, Bruce, Mittelstaedt, Leon

6th edition

9780077632182, 78025672, 77632184, 978-0078025679

More Books

Students also viewed these Programming questions

Question

Describe diversitybased conflict.

Answered: 1 week ago

Question

Define intractable issue.

Answered: 1 week ago

Question

Explain the difference between nationalism and patriotism.

Answered: 1 week ago