Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

TASK 1: Install a software that can work with OpenMP. For Windows, you may choose Dev C++, and for Mac, you may choose gcc. Submit

TASK 1: Install a software that can work with OpenMP. For Windows, you may choose Dev C++, and for Mac, you may choose gcc. Submit a screenshot of the software after downloading it.

TASK 2: Write a hello world program with the default number of threads on your laptop. Submit the code and a screenshot of the run.

TASK 4: Write a program that enquires the number of processors (cores) and the number of threads on your laptop and prints out the values. Submit the code and a screenshot of the run.

TASK 5: Write a program with a meaningful loop calculation that uses a parallelized loop. Explain the way the loop works and show it by the output of the program. Measure the time taken by your code in seconds. Submit the code, the explanation and a screenshot of the run.

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

Step: 3

blur-text-image

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

Information Modeling And Relational Databases

Authors: Terry Halpin, Tony Morgan

2nd Edition

0123735688, 978-0123735683

More Books

Students also viewed these Databases questions