NAMD
Macros
Priorities.h File Reference

Go to the source code of this file.

Macros

#define PRIORITY_SIZE   ((int) sizeof(int)*8)
 
#define SET_PRIORITY(MSG, SEQ, PRIO)
 
#define PATCH_PRIORITY(PID)   (((PID)%251)+1)
 
#define PME_PRIORITY   (2<<8)
 
#define PME_GRID_PRIORITY   (PME_PRIORITY+1)
 
#define PME_TRANS_PRIORITY   (PME_PRIORITY+2)
 
#define PME_TRANS2_PRIORITY   (PME_PRIORITY+3)
 
#define PME_UNTRANS_PRIORITY   (PME_PRIORITY+4)
 
#define PME_UNTRANS2_PRIORITY   (PME_PRIORITY+5)
 
#define MSM_PRIORITY   PME_PRIORITY
 
#define PROXY_DATA_PRIORITY   (1<<8)
 
#define PME_OFFLOAD_PRIORITY   0
 
#define PME_OFFLOAD_UNGRID_PRIORITY   (3<<8)
 
#define GB1_COMPUTE_PROXY_PRIORITY   (4<<8)
 
#define GB1_PROXY_RESULTS_PRIORITY   (5<<8)
 
#define GB1_COMPUTE_HOME_PRIORITY   (6<<8)
 
#define GB2_PROXY_DATA_PRIORITY   (7<<8)
 
#define GB2_COMPUTE_PROXY_PRIORITY   (8<<8)
 
#define GB2_PROXY_RESULTS_PRIORITY   (9<<8)
 
#define GB2_COMPUTE_HOME_PRIORITY   (10<<8)
 
#define GB3_PROXY_DATA_PRIORITY   (11<<8)
 
#define COMPUTE_PROXY_PRIORITY   (12<<8)
 
#define PROXY_RESULTS_PRIORITY   (13<<8)
 
#define PME_UNGRID_PRIORITY   (14<<8)
 
#define COMPUTE_HOME_PRIORITY   (15<<8)
 

Macro Definition Documentation

#define COMPUTE_HOME_PRIORITY   (15<<8)
#define COMPUTE_PROXY_PRIORITY   (12<<8)
#define GB1_COMPUTE_HOME_PRIORITY   (6<<8)

Definition at line 56 of file Priorities.h.

Referenced by ComputePatch::initialize(), and ComputePatchPair::initialize().

#define GB1_COMPUTE_PROXY_PRIORITY   (4<<8)

Definition at line 52 of file Priorities.h.

Referenced by ComputePatch::initialize(), and ComputePatchPair::initialize().

#define GB1_PROXY_RESULTS_PRIORITY   (5<<8)

Definition at line 54 of file Priorities.h.

Referenced by ProxyPatch::boxClosed().

#define GB2_COMPUTE_HOME_PRIORITY   (10<<8)

Definition at line 64 of file Priorities.h.

Referenced by ComputePatch::initialize(), and ComputePatchPair::initialize().

#define GB2_COMPUTE_PROXY_PRIORITY   (8<<8)

Definition at line 60 of file Priorities.h.

Referenced by ComputePatch::initialize(), and ComputePatchPair::initialize().

#define GB2_PROXY_DATA_PRIORITY   (7<<8)

Definition at line 58 of file Priorities.h.

Referenced by HomePatch::gbisP2Ready().

#define GB2_PROXY_RESULTS_PRIORITY   (9<<8)

Definition at line 62 of file Priorities.h.

Referenced by ProxyPatch::boxClosed().

#define GB3_PROXY_DATA_PRIORITY   (11<<8)

Definition at line 66 of file Priorities.h.

Referenced by HomePatch::gbisP3Ready().

#define MSM_PRIORITY   PME_PRIORITY
#define PATCH_PRIORITY (   PID)    (((PID)%251)+1)
#define PME_GRID_PRIORITY   (PME_PRIORITY+1)

Definition at line 30 of file Priorities.h.

Referenced by ComputePmeMgr::sendDataPart(), and ComputePmeMgr::sendPencilsPart().

#define PME_OFFLOAD_PRIORITY   0

Definition at line 41 of file Priorities.h.

Referenced by ComputePme::doWork().

#define PME_OFFLOAD_UNGRID_PRIORITY   (3<<8)

Definition at line 42 of file Priorities.h.

Referenced by PmeZPencil::send_ungrid(), and ComputePmeMgr::sendUngridSubset().

#define PME_PRIORITY   (2<<8)

Definition at line 29 of file Priorities.h.

Referenced by ComputePme::ComputePme(), ComputePme::doWork(), and Patch::positionsReady().

#define PME_TRANS2_PRIORITY   (PME_PRIORITY+3)

Definition at line 32 of file Priorities.h.

Referenced by PmeYPencil::send_subset_trans(), and PmeYPencil::send_trans().

#define PME_TRANS_PRIORITY   (PME_PRIORITY+2)
#define PME_UNGRID_PRIORITY   (14<<8)
#define PME_UNTRANS2_PRIORITY   (PME_PRIORITY+5)

Definition at line 34 of file Priorities.h.

Referenced by PmeYPencil::send_subset_untrans(), and PmeYPencil::send_untrans().

#define PME_UNTRANS_PRIORITY   (PME_PRIORITY+4)
#define PRIORITY_SIZE   ((int) sizeof(int)*8)
#define PROXY_DATA_PRIORITY   (1<<8)
#define PROXY_RESULTS_PRIORITY   (13<<8)

Definition at line 73 of file Priorities.h.

Referenced by ComputeNonbondedCUDA::doWork(), and ComputeLCPO::initialize().

#define SET_PRIORITY (   MSG,
  SEQ,
  PRIO 
)
Value:
{ \
CkSetQueueing(MSG, CK_QUEUEING_IFIFO); \
*((int*) CkPriorityPtr(MSG)) = (((SEQ)&0xffff)<<15) + (PRIO); }

Definition at line 18 of file Priorities.h.

Referenced by ProxyPatch::boxClosed(), ComputePmeMgr::fwdSharedTrans(), HomePatch::gbisP2Ready(), HomePatch::gbisP3Ready(), MsmBlock::gridCutoff(), MsmC1HermiteBlock::gridCutoff(), WorkDistrib::messageEnqueueWork(), WorkDistrib::messageFinishCUDA(), WorkDistrib::messageFinishMIC(), HomePatch::positionsReady(), PmeZPencil::send_subset_trans(), PmeYPencil::send_subset_trans(), PmeYPencil::send_subset_untrans(), PmeXPencil::send_subset_untrans(), PmeZPencil::send_trans(), PmeYPencil::send_trans(), PmeZPencil::send_ungrid(), PmeYPencil::send_untrans(), PmeXPencil::send_untrans(), msm::PatchData::sendCharge(), msm::PatchData::sendChargeC1Hermite(), ComputePmeMgr::sendDataPart(), MsmBlock::sendDownPotential(), MsmC1HermiteBlock::sendDownPotential(), ComputeMgr::sendFinishPatchesOnPe(), ComputeMgr::sendFinishPatchOnPe(), ComputeMgr::sendNonbondedCUDASlaveEnqueue(), ComputeMgr::sendNonbondedCUDASlaveEnqueuePatch(), ComputeMgr::sendNonbondedMICSlaveEnqueue(), ComputeMgr::sendOpenBoxesOnPe(), MsmBlock::sendPatch(), MsmC1HermiteBlock::sendPatch(), ComputePmeMgr::sendPencilsPart(), ComputePmeMgr::sendTransSubset(), ComputePmeMgr::sendUngridSubset(), ComputePmeMgr::sendUntrans(), ComputePmeMgr::sendUntransSubset(), MsmBlock::sendUpCharge(), MsmC1HermiteBlock::sendUpCharge(), MsmBlock::sumReducedPotential(), and MsmC1HermiteBlock::sumReducedPotential().