Commit 6ee4cbe5 authored by Martin Khannouz's avatar Martin Khannouz Committed by Berenger Bramas

Fix a bug in the saving of task in mpi explicit

When  SCALFMM_SIMGRID_TASKNAMEPARAMS was enable, in the m2m mpi, a
variable was incremented too soon.
parent ea414a58
...@@ -1837,7 +1837,6 @@ protected: ...@@ -1837,7 +1837,6 @@ protected:
task->dyn_handles[2] = remoteCellGroups[idxLevel+1][firstOtherBlock + nbSubCellGroups].handleSymb; task->dyn_handles[2] = remoteCellGroups[idxLevel+1][firstOtherBlock + nbSubCellGroups].handleSymb;
task->dyn_handles[3] = remoteCellGroups[idxLevel+1][firstOtherBlock + nbSubCellGroups].handleUp; task->dyn_handles[3] = remoteCellGroups[idxLevel+1][firstOtherBlock + nbSubCellGroups].handleUp;
nbSubCellGroups += 1;
// put the right codelet // put the right codelet
task->cl = &m2m_cl; task->cl = &m2m_cl;
...@@ -1872,6 +1871,7 @@ protected: ...@@ -1872,6 +1871,7 @@ protected:
comm.processId()); comm.processId());
#endif #endif
#endif #endif
nbSubCellGroups += 1;
FAssertLF(starpu_task_submit(task) == 0); FAssertLF(starpu_task_submit(task) == 0);
} }
} }
......
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