# HG changeset patch # User ikkun # Date 1480341072 -32400 # Node ID bb52f7f77bf5b2de2d4fec038c7f6dd11875eb13 # Parent f0427e27dd7b61519688dbb5f1ab23744c115e3d add main diff -r f0427e27dd7b -r bb52f7f77bf5 src/parallel_execution/context.h --- a/src/parallel_execution/context.h Mon Nov 28 18:06:50 2016 +0900 +++ b/src/parallel_execution/context.h Mon Nov 28 22:51:12 2016 +0900 @@ -195,6 +195,11 @@ CUstream stream; } cudatask; #endif + struct Main { + enum Code code; + enum Code next; + struct Queue* args; + } struct Task { enum Code code; struct Queue* dataGears; @@ -214,7 +219,6 @@ struct SingleLinkedQueue { struct Element* top; struct Element* last; - enum Code next; } SingleLinkedQueue; // Stack Interface struct Stack {