50 likes | 75 Views
Sieve of Eratosthenes Quiz questions. ITCS4145/5145, Parallel Programming Oct 24, 2013. When can we stop the algorithm? When the next prime is:. None of the other answers. What is the complexity of the sequential algorithm?. None of the other answers.
E N D
Sieve of EratosthenesQuiz questions ITCS4145/5145, Parallel Programming Oct 24, 2013.
When can we stop the algorithm? When the next prime is: • None of the other answers
What is the complexity of the sequential algorithm? • None of the other answers
Which pattern does the Sieve of Eratosthenes fit? • Scatter/Gather • Pipeline • Workpool • Stencil • None of the other answers
When we parallelized the Sieve of Eratosthenes as a Scatter/Gather pattern, what did we have to do with the “marked” array? • scatter it • reduce and broadcast it • send it via pipeline • apply a stencil to it • None of the other answers