Mercurial > hg > Game > Cerium
diff example/word_count/ppe/Print.cc @ 786:043c98537bc5 draft
fix early free of TaskArray, add SchedTaskArrayNop stage.
author | yutaka@localhost.localdomain |
---|---|
date | Sat, 24 Apr 2010 15:24:33 +0900 |
parents | f02b3338b91b |
children | 852ed17d8af1 |
line wrap: on
line diff
--- a/example/word_count/ppe/Print.cc Tue Apr 20 15:54:06 2010 +0900 +++ b/example/word_count/ppe/Print.cc Sat Apr 24 15:24:33 2010 +0900 @@ -26,8 +26,8 @@ } } - for (int i = status_num; i > 0; i--) { - s->printf("%llu ",word_data[i-1]); + for (int i = 0; i < status_num; i++) { + s->printf("%llu ",word_data[status_num - i - 1]); } s->printf("\n");