Doubts Regarding Assignment 7

Doubts Regarding Assignment 7

by Jerome Shijo -
Number of replies: 3

Hello, 

1) For Assignment 7 Question 2 parts (a) and (b), should the graphs be different for each no of threads?

2) In Question 2 part (c) should the benchmark have "fused" parallel for or the parallel construct shown in part (b) 

Thanks in Advance, 

Jerome Shijo

In reply to Jerome Shijo

Re: Doubts Regarding Assignment 7

by Georg Hager -
  1. Read the assignment again, thoroughly. You will find the answer to your question. 
  2. Do you think it will make a difference? If you are not sure, try both smile

In reply to Georg Hager

Re: Doubts Regarding Assignment 7

by Jerome Shijo -
Ah, sorry my bad. I asked because I overlaid the 1, 2, 4, 8, 12, and 18-thread results from both part (a) and part (b) which made the combined graph too cluttered.
In reply to Jerome Shijo

Re: Doubts Regarding Assignment 7

by Georg Hager -

You can separate the graphs if you want to improve clarity. As long as you explain what can be seen, it's OK to take some artistic freedom.