view src/parallel_execution/CodeGear.h @ 462:8d7e5d48cad3

Running CPU examples
author Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp>
date Wed, 20 Dec 2017 22:05:08 +0900
parents 6b71cf5b1c22
children
line wrap: on
line source

typedef struct CodeGear<Impl>{
        union Data* codeGear;
        enum Code code;
        __code code(struct Integer* input1, struct Integer* input2, __code next(struct Integer* output, ...));
        __code setInfo(struct Context* codeGear, union Data** dataGears, __code next(...));
        union Data* dataGears[10];
        __code next(...);
} CodeGear;