Quote:
I want to combine loop optimization and OpenMP in order to reduce the execution time. But im not sure what kind of loop optimization technique that can be used. For example like loopfusion, loop interchanging, loop unrolling and etc.
I fear there is no loop optimization in this case because each loop is in
merge()
and each operation must be done in sequence, the order of operation depend on data thus is inpredictable.