Go to the documentation of this file.
13 #define PRIORITY_SIZE ((int) sizeof(int)*8)
18 #define SET_PRIORITY(MSG,SEQ,PRIO) { \
19 CkSetQueueing(MSG, CK_QUEUEING_IFIFO); \
20 *((int*) CkPriorityPtr(MSG)) = (((SEQ)&0xffff)<<15) + (PRIO); }
25 #define PATCH_PRIORITY(PID) (((PID)%251)+1)
29 #define PME_PRIORITY (2<<8)
30 #define PME_GRID_PRIORITY (PME_PRIORITY+1)
31 #define PME_TRANS_PRIORITY (PME_PRIORITY+2)
32 #define PME_TRANS2_PRIORITY (PME_PRIORITY+3)
33 #define PME_UNTRANS_PRIORITY (PME_PRIORITY+4)
34 #define PME_UNTRANS2_PRIORITY (PME_PRIORITY+5)
36 #define MSM_PRIORITY PME_PRIORITY
38 #if defined(NAMD_CUDA) || defined(NAMD_HIP) || defined(NAMD_MIC)
40 #define PROXY_DATA_PRIORITY (1<<8)
41 #define PME_OFFLOAD_PRIORITY 0
42 #define PME_OFFLOAD_UNGRID_PRIORITY (3<<8)
44 #define PROXY_DATA_PRIORITY (3<<8)
52 #define GB1_COMPUTE_PROXY_PRIORITY (4<<8)
54 #define GB1_PROXY_RESULTS_PRIORITY (5<<8)
56 #define GB1_COMPUTE_HOME_PRIORITY (6<<8)
58 #define GB2_PROXY_DATA_PRIORITY (7<<8)
60 #define GB2_COMPUTE_PROXY_PRIORITY (8<<8)
62 #define GB2_PROXY_RESULTS_PRIORITY (9<<8)
64 #define GB2_COMPUTE_HOME_PRIORITY (10<<8)
66 #define GB3_PROXY_DATA_PRIORITY (11<<8)
71 #define COMPUTE_PROXY_PRIORITY (12<<8)
73 #define PROXY_RESULTS_PRIORITY (13<<8) // DONE
74 #define PME_UNGRID_PRIORITY (14<<8)
76 #define COMPUTE_HOME_PRIORITY (15<<8)
79 #endif // PRIORITIES_H