Mercurial > hg > Members > Moririn
diff src/parallel_execution/context.h @ 402:e958a409943c
Change iterator implement from oneDim to multiDim
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 01 Sep 2017 06:18:53 +0900 |
parents | fc4fcd441700 |
children | c5cd9888bf2a |
line wrap: on
line diff
--- a/src/parallel_execution/context.h Tue Aug 29 21:50:57 2017 +0900 +++ b/src/parallel_execution/context.h Fri Sep 01 06:18:53 2017 +0900 @@ -317,11 +317,20 @@ enum Code whenWait; enum Code next; } Iterator; - struct OneDimIterator { + struct MultiDimIterator { int x; + int y; + int z; int count; - struct LoopCounter *loopCounter; - } OneDimIterator; + int counterX; + int counterY; + int counterZ; + } MultiDimIterator; + struct MultiDim { + int x; + int y; + int z; + } MultiDim; }; // union Data end this is necessary for context generator typedef union Data Data;