70 likes | 253 Views
Numerical Algorithms Quiz questions. ITCS4145/5145, Parallel Programming March 14, 2013. What is meant by the term cost-optimal?. When the cost of computers is the lowest When the parallel time complexity x number of processors used = sequential time complexity
E N D
Numerical AlgorithmsQuiz questions ITCS4145/5145, Parallel Programming March 14, 2013.
What is meant by the term cost-optimal? • When the cost of computers is the lowest • When the parallel time complexity x number of processors used = sequential time complexity • When the number of lines of code is at the lower bound (minimum) • When the sequential time complexity x number of processors used = parallel time complexity
What is the sequential time complexity of matrix multiplication(Matrices each n x n) • O(log n) • O(n) • O(n2) • O(n3)
What is the parallel time complexity of matrix multiplication using n2 processors(Matrices each n x n) • O(log n) • O(n) • O(n2) • O(n3)
How many processors would be needed to perform matrix multiplication using block multiplication with s x s blocks (sub-matrices) and n x n matrices?(Assume n is a multiple of s) • n/s • (n/s) 2 • s2 • None of the other answers
What is the parallel time complexity of matrix multiplication using block multiplication with s x s blocks (sub-matrices) using the number of processors from the last question?(Assume n is a multiple of s) • . • . • . • None of the other answers
Discussion • How can block matrix multiplication take advantage of cache memory?