Difference for src/CudaComputeNonbonded.C from version 1.1 to 1.2

version 1.1version 1.2
Line 390
Line 390
   //--------------------------------------------------------   //--------------------------------------------------------
   // Build a list of PEs to avoid   // Build a list of PEs to avoid
   std::vector<int> pesToAvoid;   std::vector<int> pesToAvoid;
  #if 0
   // Avoid other GPUs' master PEs   // Avoid other GPUs' master PEs
   for (int i=0;i < deviceCUDA->getDeviceCount();i++) {   for (int i=0;i < deviceCUDA->getDeviceCount();i++) {
     int pe = deviceCUDA->getMasterPeForDeviceID(i);     int pe = deviceCUDA->getMasterPeForDeviceID(i);
Line 405
Line 406
     int pe = pesToAvoid[i];     int pe = pesToAvoid[i];
     peProxyPatchCounter[CkRankOf(pe)] = (1 << 20);         peProxyPatchCounter[CkRankOf(pe)] = (1 << 20);    
   }   }
  #endif
   // Avoid master Pe somewhat   // Avoid master Pe somewhat
   peProxyPatchCounter[CkRankOf(masterPe)] = patches.size();   peProxyPatchCounter[CkRankOf(masterPe)] = 2; // patches.size();
   //--------------------------------------------------------   //--------------------------------------------------------
   for (int i=0;i < patches.size();i++) {   for (int i=0;i < patches.size();i++) {
     PatchID pid = patches[i].patchID;     PatchID pid = patches[i].patchID;


Legend:
Removed in v.1.1 
changed lines
 Added in v.1.2



Made by using version 1.53 of cvs2html