charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Tom Quinn <trq AT astro.washington.edu>
- To: charm AT cs.uiuc.edu
- Subject: [charm] Change priority of a callback
- Date: Fri, 18 Sep 2015 20:24:42 -0700 (PDT)
This wasn't clear from the manual, and I think it might be a good idea for one of ChaNGa's callbacks: can you raise the priority of a callback? I'd like the finishSmoothWalk() entry method to have high priority in the following code:
void TreePiece::markSmoothWalkDone()
{
CkCallback cb = CkCallback(CkIndex_TreePiece::finishSmoothWalk(),
pieces);
// Use shadow array to avoid reduction conflict
smoothProxy[thisIndex].ckLocal()->contribute(cb);
}
void TreePiece::finishSmoothWalk()
{}
Tom Quinn Astronomy, University of Washington
Internet:
trq AT astro.washington.edu
Phone: 206-685-9009
- [charm] Change priority of a callback, Tom Quinn, 09/18/2015
Archive powered by MHonArc 2.6.16.