trying to get openmp going
hmm, not sure if openmp is actually working here ... should call a dummy openmp function, see if it works
aha, num threads = 1
aha, forgot -fopenmp. need this for both intel and gnu
interesting: results range from 4.5ms to >10ms with default num_threads=12
ok, probably done fiddling with openmp for now. openmp buys around 2x improvement over singlethreaded (but pretty noisy speedup results). Next: see how openmp resize() compares with IPP
TODO: call it in a loop, take avg time
interesting: openMP setup takes like 0.5ms to 1ms. (empty omp for loop)
setting up opencv downsample
set up opencv downsampling
cleanup some notation
opencv downsampled output img looks correct
opencv is within 2x of IPP, when using OpenMP. OpenCV with OpenMP is like 6-7ms. OpenCV without IPP looks substantially slower than IPP, though. I wonder if IPP is using OpenMP internally.
yeah, opencv is almost as fast as IPP. And, I grepped the OpenCV code and found no instances of ippiResize.
formatting