Mercurial > hg > Game > Cerium
changeset 1993:a98e18dba579 draft
fix word_count
author | Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 20 Apr 2014 21:39:00 +0900 |
parents | 35dff9efffc2 |
children | c961cc335471 |
files | example/word_count/ppe/Print.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/example/word_count/ppe/Print.cc Sun Apr 20 20:52:09 2014 +0900 +++ b/example/word_count/ppe/Print.cc Sun Apr 20 21:39:00 2014 +0900 @@ -10,7 +10,7 @@ static int run_print(SchedTask *s, void *rbuf, void *wbuf) { - WordCount *w = *(WordCount**)rbuf; + WordCount *w = (WordCount*)s->get_input(0); unsigned long long *idata = w->o_data; // long task_num = w->task_num; long status_num = w->status_num;