view src/parallel_execution/Iterator.h @ 473:71b634a5ed65

Merge
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Thu, 28 Dec 2017 11:55:59 +0900
parents 6b71cf5b1c22
children
line wrap: on
line source

typedef struct Iterator<Impl>{
        union Data* iterator;
        struct Context* task;
        int numGPU;
        __code exec(Impl* iterator, struct Context* task, int numGPU, __code next(...));
        __code barrier(Impl* iterator, struct Context* task, __code next(...), __code whenWait(...));
        __code whenWait(...);
        __code next(...);
} Iterator;