INTRODUCTION
This tutorial demonstrates the various optimization options available with CUDA and how much effect does each optimization has for the Image Convolution algorithm.More information on this can be found in the optimization section.
It is important to note that though these optimizations work well for this particular example and this particular graphics card, they may or may not do so well for other problems and graphics card.
The code is designed to run from the command line.It reads in a single image in pgm format, and after applying convolution filter, writes out the new image in pgm format. The code for different optmization levels and the executable can be dowloaded from download section.