annotate src/parallel_execution/CodeGear.cbc @ 342:de1e315379c6

Add CodeGear.cbc
author Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
date Thu, 25 May 2017 22:49:40 +0900
parents
children b8be1d51f002
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;
de1e315379c6 Add CodeGear.cbc
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 __code run(struct Integer* input1, struct Integer* input2, __code next(struct Integer* output, ...));
de1e315379c6 Add CodeGear.cbc
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 struct Integer* input1;
de1e315379c6 Add CodeGear.cbc
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 struct Integer* input2;
de1e315379c6 Add CodeGear.cbc
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 struct Integer* output;
de1e315379c6 Add CodeGear.cbc
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 __code next(...);
de1e315379c6 Add CodeGear.cbc
Tatsuki IHA <e125716@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 } CodeGear;