Mercurial > hg > Papers > 2018 > parusu-master
view paper/src/metaCodeGearExample.cbc @ 33:6da0158a17a1
Add bitonicSort
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 03 Feb 2018 22:46:48 +0900 |
parents | 1ea2032fbc31 |
children |
line wrap: on
line source
__code add_stub(struct Context* context) { // Input Data Gear Integer* input1 = &context->data[context->idg + 0]->Integer; Integer* input2 = &context->data[context->idg + 1]->Integer; // set Continuation enum Code next = context->next; // Output Data Gear Integer** O_output = (Integer **)&context->data[context->odg + 0]; goto add(context, input1, input2, next, O_output); }