view src/parallel_execution/Executor.cbc @ 438:7679093bdd72

Work CUDAtwice
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Mon, 06 Nov 2017 00:11:43 +0900
parents af0ec811b20e
children 5a737c3df91c
line wrap: on
line source

typedef struct Executor<Impl>{
    union Data* Executor;
    struct Context* task;
    __code read(Impl* executor, struct Context* task, __code next(...));
    __code exec(Impl* executor, struct Context* task, __code next(...));
    __code write(Impl* executor, struct Context* task, __code next(...));
}