Skip to Content.
Sympa Menu

charm - Re: [charm] Change priority of a callback

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] Change priority of a callback


Chronological Thread 
  • From: Tom Quinn <trq AT astro.washington.edu>
  • To: charm AT cs.uiuc.edu
  • Subject: Re: [charm] Change priority of a callback
  • Date: Mon, 7 Nov 2016 11:07:20 -0800 (PST)

I sent this out a year ago, and I don't think I ever got a reply. Any ideas?

Tom Quinn Astronomy, University of Washington
Internet:
trq AT astro.washington.edu
Phone: 206-685-9009

On Fri, 18 Sep 2015, Tom Quinn wrote:

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




Archive powered by MHonArc 2.6.19.

Top of Page