view src/parallel_execution/Iterator.cbc @ 382:f1d111e293c4

Enable Timer for bitonicSort
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Mon, 24 Jul 2017 20:05:08 +0900
parents 9049c19036fd
children 85b0ddbf458e
line wrap: on
line source

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