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-sched-nobsp.in
ViewVC logotype

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

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

revision 3214, Wed Jul 15 04:29:46 2015 UTC revision 3215, Wed Jul 15 05:11:47 2015 UTC
# Line 2  Line 2 
2  //  //
3  typedef struct {  typedef struct {
4    /* the scheduler prefix has a layout known to the CPU side */    /* the scheduler prefix has a layout known to the CPU side */
5      int         nSteps;         // number of executed steps      volatile int        nextStrand;     // the next strand to schedule
6      int         nStrands;       // total number of allocated strands      volatile int        nSteps;         // number of executed steps
7      int         nActive;        // number of active strands      volatile int        nStrands;       // total number of allocated strands
8      int         nStable;        // number of stable strands      volatile int        nActive;        // number of active strands
9        volatile int        nStable;        // number of stable strands
10  #ifdef DIDEROT_HAS_DIE  #ifdef DIDEROT_HAS_DIE
11      int         nDied;          // number of strands that have died      volatile int        nDied;          // number of strands that have died
12  #endif  #endif
13    /* additional scheduler fields */    /* additional scheduler fields */
     volatile int nextStrand;  
14      __global @STRANDTY@ *state; // strand state array; with nStrands elements      __global @STRANDTY@ *state; // strand state array; with nStrands elements
15      __global uchar *status;     // strand status array; with nStrands elements      __global uchar *status;     // strand status array; with nStrands elements
16  } @PREFIX@Sched_t;  } @PREFIX@Sched_t;

Legend:
Removed from v.3214  
changed lines
  Added in v.3215

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