Open main menu

CDOT Wiki β

Changes

GPU621/Group 3

244 bytes added, 12:16, 12 April 2023
OpenMP Implementation Summary
'''OpenMP Implementation'''
OpenMP provides extremely simple implementation, especially the process which we are using in our code. In this process we were able to simply use a ''#pragma parallel for'' declaration for the OpenMP API to parallelize the process. With this we saw at the operations being performed at a quarter of the time it took the serial version of these processes. Originally in the sharpen function we were only using the parallel for, but it was pointed out that we could avoid some false sharing issues and shave a few milliseconds off our processing time by using a reduction targeting the 'sum' variable.
==='''Image Processing, parallelized with OpenMP'''===
72
edits