Exercise 5

Exercise

Time: 20 min

  1. Run the code exercises/exercise_5/6_vector_add_unified.cu and check the output.

  2. Do you see and difference in performance when prefetching data to the GPU?