Commit e325e4d4 authored by BRAMAS Berenger's avatar BRAMAS Berenger

use commut also for M2M

parent 2d8ccb7b
......@@ -417,7 +417,7 @@ protected:
subCellGroup = (*iterChildCells);
subCellGroupPoles = (*iterChildCells)->getRawMultipoleBuffer();
#pragma omp task default(none) firstprivate(idxLevel, currentCells, cellPoles, subCellGroup, subCellGroupPoles) depend(inout: cellPoles[0]) depend(in: subCellGroupPoles[0]) priority_if_supported(FGroupTaskDepAlgorithm_Prio_M2M)
#pragma omp task default(none) firstprivate(idxLevel, currentCells, cellPoles, subCellGroup, subCellGroupPoles) depend(commute_if_supported: cellPoles[0]) depend(in: subCellGroupPoles[0]) priority_if_supported(FGroupTaskDepAlgorithm_Prio_M2M)
{
KernelClass*const kernel = kernels[omp_get_thread_num()];
const MortonIndex firstParent = FMath::Max(currentCells->getStartingIndex(), subCellGroup->getStartingIndex()>>3);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment