Reinhard may not effective for OpenMP.
rageworx opened this issue · comments
One of tone mapping, Reinhard algorithm took some strange result by testing performance.
Tested 5790x8688 JPEG image at Intel i7-7700 ( 3.6GHz ), Windows 10 x86.64
First, with OpenMP. ( CPU going to 100% usage )
about 27 seconds.
Then with non-OpenMP. ( much less CPU usage ... )
about 15 seconds.
Hmm ??? Need more test ...
library compiled with MinGw-W64 gcc 10.2.0(rev9).
Log mapping perf.
- non-openmp : 20578 ms.
- openmp : 3843 ms.
- fulfill to effectible at openmp with log mapping.
eCLAHE perf.
- non-openmp : 907 ms.
- openmp : 843 ms.
- fulfill to effectible at openmp with eCLAHE.
Reinhard openmp improved perf.
- non-openmp : 15232 ms.
- openmp : 2640 ms !
- 27 seconds to 3 seconds. profit !