openMp optimisation of dynamic array access
问题 I am trying to measure the speedup in parallel section using one or four threads. As my parallel section is relatively simple, I expect a near-to-fourfold speedup. ( This is following my question: openMp: severe perfomance loss when calling shared references of dynamic arrays ) As my parallel sections runs twice as fast on four cores compared to only one, I believe I have still not found the reason for the performance loss. I want to parallelise my function iter as well as possible. The