Exercise 2

Exercise

Time: 20 min

  1. Run the code exercises/exercise_2/2_vector_add.cu and check the output.

  2. Change grid size and block size in the code to see how it affects the performance.