Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program that calculate the multiplication of two random floating numbers and store the result of the multiplication, follow the following requirements: - Create
Write a program that calculate the multiplication of two random floating numbers and store the result of the multiplication, follow the following requirements: - Create 2 arrays to store the random floating numbers, and one array to store the results. - Try with array sizes: 10000,100000 , and 1000000. - Compare the performance between serial program and parallel program with all three sizes of the arrays. - You can choose pthread or OpenMP to program the parallel code. - Try parallel code with 2, 4, 8, and 16 threads. - Create table for the comparison between serial and parallel with three problem sizes and different thread numbers. - Show print screen from the output
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