Mercurial > hg > GearsTemplate
diff src/parallel_execution/examples/bitonicSort.cbc @ 376:b46f38645587
Run oneDimIterator_test
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 18 Jul 2017 16:35:48 +0900 |
parents | ad44fdb11433 |
children | 2744cb933ebc |
line wrap: on
line diff
--- a/src/parallel_execution/examples/bitonicSort.cbc Tue Jul 18 16:13:11 2017 +0900 +++ b/src/parallel_execution/examples/bitonicSort.cbc Tue Jul 18 16:35:48 2017 +0900 @@ -128,6 +128,7 @@ __code createTask2(struct LoopCounter* loopCounter, struct TaskManager* taskManager) { struct Context** tasks = (struct Context**)ALLOC_ARRAY(context, Context, 1); struct Context* task = NEW(struct Context); + initContext(task); task->iterator = createOneDimIterator(context, 10); task->next = C_printIterator; task->idgCount = 0;