Mercurial > hg > Members > kono > Cerium
diff example/Bulk/ppe/Twice.cc @ 685:b386522827ae
Bulk task on going.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 07 Dec 2009 00:32:34 +0900 |
parents | 458a1ad91427 |
children | 7e937a1cd121 |
line wrap: on
line diff
--- a/example/Bulk/ppe/Twice.cc Sun Dec 06 23:03:28 2009 +0900 +++ b/example/Bulk/ppe/Twice.cc Mon Dec 07 00:32:34 2009 +0900 @@ -1,5 +1,5 @@ #include <stdio.h> -#include "SchedTask.h" +#include "SchedTaskArray.h" #include "Twice.h" #include "Func.h" @@ -9,7 +9,8 @@ static int run(SchedTask *s,void *rbuf, void *wbuf) { -#if 0 + SchedTaskArray *a = (SchedTaskArray *)s; + int *i_data; int *o_data; long length; @@ -21,7 +22,6 @@ for (int i = 0; i < length; i++) { o_data[i] = i_data[i] * 2; } -#endif return 0; }