Mercurial > hg > Members > Moririn
comparison 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 |
comparison
equal
deleted
inserted
replaced
401:408b4aab7610 | 402:e958a409943c |
---|---|
315 enum Code exec; | 315 enum Code exec; |
316 enum Code barrier; | 316 enum Code barrier; |
317 enum Code whenWait; | 317 enum Code whenWait; |
318 enum Code next; | 318 enum Code next; |
319 } Iterator; | 319 } Iterator; |
320 struct OneDimIterator { | 320 struct MultiDimIterator { |
321 int x; | 321 int x; |
322 int y; | |
323 int z; | |
322 int count; | 324 int count; |
323 struct LoopCounter *loopCounter; | 325 int counterX; |
324 } OneDimIterator; | 326 int counterY; |
327 int counterZ; | |
328 } MultiDimIterator; | |
329 struct MultiDim { | |
330 int x; | |
331 int y; | |
332 int z; | |
333 } MultiDim; | |
325 }; // union Data end this is necessary for context generator | 334 }; // union Data end this is necessary for context generator |
326 | 335 |
327 typedef union Data Data; | 336 typedef union Data Data; |
328 | 337 |
329 #include "c/typedefData.h" | 338 #include "c/typedefData.h" |