| version 1.1023 | version 1.1024 |
|---|
| |
| #include "WorkDistrib.decl.h" | #include "WorkDistrib.decl.h" |
| #include "Node.h" | #include "Node.h" |
| #include "ComputePatch.h" | #include "ComputePatch.h" |
| | #include "Priorities.h" |
| #include "PatchMap.inl" | #include "PatchMap.inl" |
| #include "Patch.h" | #include "Patch.h" |
| | |
| |
| int myNode = CkMyPe(); | int myNode = CkMyPe(); |
| if ( PatchMap::Object()->node(patchID) != myNode ) | if ( PatchMap::Object()->node(patchID) != myNode ) |
| { | { |
| basePriority = 64 + patchID % 64; | basePriority = COMPUTE_PROXY_PRIORITY + PATCH_PRIORITY(patchID); |
| } | } |
| else | else |
| { | { |
| basePriority = 2 * 64 + (patchID % 64); | basePriority = COMPUTE_HOME_PRIORITY + PATCH_PRIORITY(patchID); |
| } | } |
| } | } |
| | |