Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] Diff of /branches/vis15/src/lib/parallel-target/scheduler.cxx
ViewVC logotype

Diff of /branches/vis15/src/lib/parallel-target/scheduler.cxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5062, Fri Jul 14 14:13:25 2017 UTC revision 5063, Fri Jul 14 14:56:15 2017 UTC
# Line 87  Line 87 
87            // some AMD processors (Bulldozer) report a number of cores that is half            // some AMD processors (Bulldozer) report a number of cores that is half
88            // the max core ID + 1.  In this case, we use the maxCoreId to compute the            // the max core ID + 1.  In this case, we use the maxCoreId to compute the
89            // number of cores, since these are not hyperthreaded processors.            // number of cores, since these are not hyperthreaded processors.
90              this->_numCoresPerNode = (nCores < maxCoreId + 1) ? maxCoreId + 1 : nCores;              if (nCores < maxCoreId + 1) {
91                    nCores = maxCoreId + 1;
92                }
93                this->_numCoresPerNode = nCores;
94              this->_numThdsPerCore = this->_numHWThreads / this->_numHWCores;              this->_numThdsPerCore = this->_numHWThreads / this->_numHWCores;
95            // check consistency            // check consistency
96              if (this->_numHWCores != this->_numHWNodes * nCores) {              if (this->_numHWCores != this->_numHWNodes * nCores) {

Legend:
Removed from v.5062  
changed lines
  Added in v.5063

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0