1 | initial version |
I think I can answer my own question. I can't say for sure whether dft() is entirely thread-safe, but it does look like you can call dft() in a tbb::parallel_for loop. I had some caching issues buried elsewhere in my code that were leading to the NaN's being introduced in the multi-threaded case.