view src/parallel_execution/Iterator.h @ 461:6b71cf5b1c22

Change Interface files from cbc to header
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Wed, 20 Dec 2017 17:54:15 +0900
parents src/parallel_execution/Iterator.cbc@85b0ddbf458e
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;