int main(int argc, char** argv) { List stuff; for(int i = 0; i < 10; ++i){ stuff.addEnd(i); } List stuff2(stuff); stuff2 = stuff; stuff.print(); stuff2.print(); return 0; }
int main() { int tab[10][100]; int b=sizeof(int); int c=3; #pragma smecy stream_loop while (1) { #pragma smecy stage arg(1,out) map(PE,1) stuff(tab); #pragma smecy stage arg(1,inout) map(OpenCL) stuff2(tab,c); #pragma smecy stage arg(1,in) map(EdkDSP) stuff(tab); } return 0; }
// driver entry point void rtl_shutdown() { stuff2(); };