Hello Folks,
My application uses IPP library. I am currently using, IPP library version 6.1.6. Due to some customer requirements I cannot upgrade my IPP library to later versions.
I am seeing a weird behaviour where in a call to ippsSortDescend_32f_I api doesn't return/hangs. This occurs intermittently(like 2 out of 10 runs). I see this non-responsive behaviour on Linux & Mac(Haven't tried on Windows).
I initially suspected some threading issue within the IPP library & posted my query here: http://stackoverflow.com/questions/40475792/how-to-set-number-of-threads...
On further investigation, I found out that IPP library doesn't spawn any new threads of its own (No internal multithreading)
From this doc: http://www.csbi.mit.edu/technology/intel_ipp/doc/ThreadedFunctionsList.txt
Looks like the function ippsSortDescend_32f_I is not even threaded.
If I use c style quick sort instead of this api, my application works as expected. I am not sure why a call to this synchronous api would not return.
Are there any conditions where in, this function runs into an infinite loop ? (Just my guess)
Any help would be highly appreciated.
Thanks,
Ganesh
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco}
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Monaco}