33
edits
Changes
→Rotate Image
On the CPU "rotate" took 40,000 microseconds and the GPU took 1,482 microseconds which shows a speedup of 27 times
<pre>
__global__ void rotateImg(int* a, int* b, int matrixSize, int imgCols, int imgRows, int r0, int c0, float rads) {