How to speed up this code implemented OpenCV
I need an advice for sample below code that requires lots of time for processing. I am developing project on OpenCV and have code blocks like this ( some of them are pictures ). What should I use for more speed? Like, OpenMP or TBB ( that's new in OpenCV and more complex, maybe some examples more helpful ) or GPU ( implementing entire project ) or Boost library or another I don't know 3rd party libraries.
i didn't write multithread on c++ before
thanks for helping now
sample code snippet:
for( int i = 0; i < 3000; i++ )
for( int j = 0; j < 3000; j++ )
for ( int index = 0; index < 3000; index++ )
// float point operations