annotate src/parallel_execution/CodeGear.cbc @ 344:b8be1d51f002

Add CodeGear interface
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Fri, 26 May 2017 07:39:23 +0900
parents de1e315379c6
children 9f8a87389b68
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
342
de1e315379c6 Add CodeGear.cbc
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 typedef struct CodeGear<Impl>{
de1e315379c6 Add CodeGear.cbc
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 union Data* codeGear;
de1e315379c6 Add CodeGear.cbc
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 enum Code code;
344
b8be1d51f002 Add CodeGear interface
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents: 342
diff changeset
4 __code code(struct Integer* input1, struct Integer* input2, __code next(struct Integer* output, ...));
b8be1d51f002 Add CodeGear interface
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents: 342
diff changeset
5 union Data* dataGears[10];
342
de1e315379c6 Add CodeGear.cbc
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 __code next(...);
de1e315379c6 Add CodeGear.cbc
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 } CodeGear;