Gaussian Blur algorithm implemented in OpenCL, written as a learning project. The intention was to benchmark the performance against CPU. However, take the tests below with a grain of salt as CPU calculations were run on a single thread. This shows the power of GPU computing nonetheless.
The tests were done on MBP 2017 (Intel Core i5, Intel Iris Plus Graphics 640).
Kernel size | CPU time | GPU time |
---|---|---|
5 | 5.600 | 0.005 |
10 | 18.610 | 0.012 |
20 | 80.038 | 0.033 |
- Image Filters: Gaussian Blur by Aryaman Sharda
- GPU Image Processing using OpenCL by Harald Scheidl