Mercurial > hg > GearsTemplate
changeset 533:8fc069b19574
Fix
author | Tatsuki IHA <innparusu@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 02 Feb 2018 03:39:27 +0900 |
parents | 3881b91f5820 |
children | 6ca515352a76 |
files | src/parallel_execution/Executor.h src/parallel_execution/test/multiDimIterator_test.cbc |
diffstat | 2 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/parallel_execution/Executor.h Sat Jan 27 23:23:38 2018 +0900 +++ b/src/parallel_execution/Executor.h Fri Feb 02 03:39:27 2018 +0900 @@ -1,6 +1,7 @@ typedef struct Executor<Type, Impl>{ Type* Executor; struct Context* task; + __code next(...); __code read(Impl* executor, struct Context* task, __code next(...)); __code exec(Impl* executor, struct Context* task, __code next(...)); __code write(Impl* executor, struct Context* task, __code next(...));
--- a/src/parallel_execution/test/multiDimIterator_test.cbc Sat Jan 27 23:23:38 2018 +0900 +++ b/src/parallel_execution/test/multiDimIterator_test.cbc Fri Feb 02 03:39:27 2018 +0900 @@ -54,9 +54,9 @@ } __code createTask2(struct TaskManager* taskManager) { - par goto printIterator(iterate(2), exit); - par goto printIterator(iterate(2, 2), exit); - par goto printIterator(iterate(2, 2, 2), exit); + par goto printIterator(iterate(2), __exit); + par goto printIterator(iterate(2, 2), __exit); + par goto printIterator(iterate(2, 2, 2), __exit); goto createTask1(); }