.. title: PAR Homework 2, Mon 2021-02-01
.. slug: homework02
.. tags: homework
.. date: 2021-02-01
.. category: 
.. link: 
.. description: 
.. type: text
.. has_math: true

Rules
-----

#. Due next Mon 2021-02-08, noon.

#. Submit the answers to Gradescope.

#. You may do homeworks in teams of 2 students.   Create a gradescope team and make one submission with both names.

#. Short but informative answers are fine.   

Questions
---------

Each is 5 points.

#. Why is one CUDA core less powerful than one Intel Xeon core?

#. If 10% of a program cannot be parallelized, then what is the max speedup even with infinite parallelism?

#. "For short running parallel programs, there can actually be a decrease in performance compared to a similar serial implementation.".  Why?

#. What is the difference between strong scaling and weak scaling?

#. What is cache coherency?

#. Define "embarrassingly parallel".

#. How many CUDA cores does the RTX 8000 have?
   
#. Why have machine cycle speeds stopped increasing?
   
#. Give an advantage and a disadvantage of shared memory versus distributed memory for parallel computation.
   
#. In OpenMP, what's the difference between ATOMIC and CRITICAL?


Total: 50 pts.

