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

SCM Repository

[diderot] Diff of /branches/vis12-cl/src/compiler/cl-target/fragments/cl-update-nobsp.in
ViewVC logotype

Diff of /branches/vis12-cl/src/compiler/cl-target/fragments/cl-update-nobsp.in

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

revision 2769, Sat Oct 11 23:38:49 2014 UTC revision 2770, Sat Oct 11 23:39:02 2014 UTC
# Line 94  Line 94 
94                      @STRAND@_CopyToGlobal (&state[myIdx], &myStrand);                      @STRAND@_CopyToGlobal (&state[myIdx], &myStrand);
95                      GET_NEXT_STRAND;                      GET_NEXT_STRAND;
96                  }                  }
97                    break;
98  #ifndef DIDEROT_HAS_DIE  #ifndef DIDEROT_HAS_DIE
99                case DIDEROT_DYING:                case DIDEROT_DYING:
100                  myDied++;                  myDied++;
# Line 115  Line 116 
116                  break;                  break;
117              }              }
118          }          }
         maxNSteps[myId] = myMaxNSteps;  
         nStabilized[myId] = myStabilized;  
 #ifndef DIDEROT_HAS_DIE  
         nDied[myId] = myDied;  
 #endif  
119          barrier (CLK_LOCAL_MEM_FENCE);          barrier (CLK_LOCAL_MEM_FENCE);
120    
121          if (nIdle > 0) {          if (nIdle > 0) {
# Line 148  Line 144 
144              }              }
145          }          }
146    
147      }      } /* while */
148    
149        maxNSteps[myId] = myMaxNSteps;
150        nStabilized[myId] = myStabilized;
151    #ifndef DIDEROT_HAS_DIE
152        nDied[myId] = myDied;
153    #endif
154        barrier (CLK_LOCAL_MEM_FENCE);
155    
156    // at this point either all strands in this workgroup have run to completion, so we compute    // at this point either all strands in this workgroup have run to completion, so we compute
157    // the scheduling info for this workgroup and then update the global info.    // the scheduling info for this workgroup and then update the global info.

Legend:
Removed from v.2769  
changed lines
  Added in v.2770

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