Open main menu

CDOT Wiki β

Changes

GroupNumberUndefined

242 bytes added, 00:09, 11 April 2017
Assignment 3
Overall, this is what the optimized rotateImage() function and the rotate() kernel looks like:
[[File:OptimizedFunction.jpg]]
 
Some calculation previously done inside the kernel (finding the center of images and finding radians calculation) were moved to outside the kernel and its value passed in. Kernel:
 
[[File:OptimizedKernel.jpg]]
Profiling with the same images gives the following result.
[[File:OptimizedChart.jpg]]
39
edits