How to setup the CUDA environment on the ug machines

Follow these instructions.

Assignment #1

  1. Develop a CUDA program that rotates the Tucan image we used for the fade example. Here's the tucan image. Here some files to help you.
  1. Develop a CUDA program that takes two PPM images and merges them. That is every new pixel is the sum of average of the two corresponding pixels from the input images: new[i][j] = (in_a[i][j] + in_b[i][j]) / 2.