Programming Graphic Processing Units (GPUs)
MetadataShow full item record
In this thesis we do a broad study of the languages, libraries and frameworks for general purpose computations on graphics processors. We have also studied the different graphics processor architectures that has been developed the last decade. 8 example programs in OpenGL, CUDA, MPI and OpenMP has been made to emphasize the mechanisms for parallelization and memory managment. The example programs have been benchmarked and the source lines are been counted. We found out that programs for the GPU outperforms the CPU multi-core programs in some cases. This depends on the algorithm and problem size. Also we found out that the new languages created for GPGPU are more suited for programming the GPU than with graphics libraries.