CImg Open Source Cross Platform Image Processing Library The profiling portion of the Demo file is detailed in the following blogpost: https://shayanzafar.wordpress.com/2013/02/08/parallel-programming-profiling-the-open-source-image-processing-application-cimg/ The GPU code that was written for the demo file is documented in post: (code is in gpu-programming branch) https://shayanzafar.wordpress.com/2013/03/08/parallel-programming-the-cimg-open-source-library-function-using-nvidia-cuda-5-0-toolkit-on-gpu/