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

SCM Repository

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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2548 - (download) (annotate)
Wed Feb 26 14:22:24 2014 UTC (5 years, 7 months ago) by lamonts
File size: 414 byte(s)
Fixed global reduction block
#define DIDEROT_PARALLEL_REDUCTION

typedef struct {
    pthread_mutex_t lock;
    pthread_cond_t barrier;
    pthread_cond_t leaderBarrier;
    pthread_cond_t doneCond;
    bool done;
    bool doneWithPhase; 
    uint32_t leaderId; 
    uint32_t groupSize;
    uint32_t numberOfStrands;
    uint32_t numIdle;
    uint32_t nextStrand;
    uint32_t numWorkers;
    uint32_t idCounter;
}Diderot_Global_Scheduler_t;

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