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

SCM Repository

[diderot] Diff of /branches/lamont/src/compiler/c-target/fragments/seq-run.in
ViewVC logotype

Diff of /branches/lamont/src/compiler/c-target/fragments/seq-run.in

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

revision 2095, Tue Nov 20 15:15:55 2012 UTC revision 2101, Thu Dec 6 06:37:07 2012 UTC
# Line 14  Line 14 
14      @BUILD_GRID@      @BUILD_GRID@
15      uint32_t nSteps = 0, nUpdates = 0;      uint32_t nSteps = 0, nUpdates = 0;
16      uint32_t nActive = wrld->numActive;      uint32_t nActive = wrld->numActive;
17    
18        /** Run the Initial Global Reduction Phase */
19        @PREFIX@Global_Reduction(wrld,glob,wrld->inState);
20      while ((nActive > 0) && (nSteps < maxNSteps)) {      while ((nActive > 0) && (nSteps < maxNSteps)) {
21          nSteps++;          nSteps++;
22        // update strands        // update strands
# Line 56  Line 59 
59          @STRANDTY@ **tmp = wrld->inState;          @STRANDTY@ **tmp = wrld->inState;
60          wrld->inState = wrld->outState;          wrld->inState = wrld->outState;
61          wrld->outState = tmp;          wrld->outState = tmp;
62          /** Run the Global Reduction Phase */
63          @PREFIX@Global_Reduction(wrld,glob,wrld->inState);
64      }      }
65      wrld->numActive = nActive;      wrld->numActive = nActive;
66    

Legend:
Removed from v.2095  
changed lines
  Added in v.2101

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