Exercise 3

Exercise

Time: 20 min

  1. Run the code exercises/exercise_3/3_vector_add.cu and check the output.

  2. Run the code exercises/exercise_3/4_vector_add_async.cu and check the output.

  3. What is the performance difference between the two codes?