Professional Documents
Culture Documents
CMP 776 Final 2020
CMP 776 Final 2020
Do 8 of the 16 problems.
2) Describe the Odd Even Transposition Sort algorithm, indicate how fast it runs
indicate how fast it runs and how you know it is this efficient.
3) Describe the Shear Sort algorithm and indicate how fast it runs.
4) Given an NxN grid, Shear Sort never requires more than lg N + 1 row sorts
and lg N column sorts. Assuming that N is a positive power of 2.
Demonstrate that this is true.
6) How many processors would you need to pipeline the FFT on N elements?
Explain the circumstances under which pipelining the FFT would be
beneficial. Describe the benefit.
11) In today’s CPUs and GPUs transistors are allocated very differently.
What is the main difference in allocation?
14) Each thread in a warp executes the same instruction stream. How then
does each thread in a warp perform a different parallel task?
15) Why does NVIDIA claim that CUDA programmers should issue more
threads than there are thread processors?
16) FFTs are always provided in libraries for parallel hardware. A lot of
work goes into devising efficient implementations of these algorithms for
each new hardware design. Why?