93
edits
Changes
→Assignment 3
rotateKernel<<<dGrid, dBlock >>>(d_a, d_b, rows, cols, sin1, cos1);
The graph below shows the pronounced difference between the sincosf() kernel method and the cpu different sin() cos() method for the 5times larger picturemethods.
[[Media:Assign3assign3-sincosall.png]]
There may be other variables that could be moved outside the kernel like r0 and c0, but due to time limitations they weren't tested.