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

SCM Repository

[diderot] Annotation of /branches/lamont/src/compiler/c-target/fragments/c-hdr-par-global-extra.in
ViewVC logotype

Annotation of /branches/lamont/src/compiler/c-target/fragments/c-hdr-par-global-extra.in

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2548 - (view) (download)

1 : lamonts 2526
2 :     #define DIDEROT_PARALLEL_REDUCTION
3 :    
4 :     typedef struct {
5 :     pthread_mutex_t lock;
6 :     pthread_cond_t barrier;
7 : lamonts 2540 pthread_cond_t leaderBarrier;
8 : lamonts 2526 pthread_cond_t doneCond;
9 :     bool done;
10 : lamonts 2535 bool doneWithPhase;
11 : lamonts 2526 uint32_t leaderId;
12 :     uint32_t groupSize;
13 :     uint32_t numberOfStrands;
14 :     uint32_t numIdle;
15 :     uint32_t nextStrand;
16 :     uint32_t numWorkers;
17 :     uint32_t idCounter;
18 :     }Diderot_Global_Scheduler_t;

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