Mercurial > hg > Members > kono > Cerium
changeset 654:6929d888fd69
vectorize word count
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 01 Dec 2009 19:00:24 +0900 |
parents | 94c6b7ea87c2 |
children | b72663cf056a |
files | example/word_count/spe/Exec.cc |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/example/word_count/spe/Exec.cc Tue Dec 01 10:39:04 2009 +0900 +++ b/example/word_count/spe/Exec.cc Tue Dec 01 19:00:24 2009 +0900 @@ -6,9 +6,8 @@ /* これは必須 */ SchedDefineTask(Exec); -// typedef char *cvector __attribute__ ((vector_size (16))); -// -typedef char *cvector; +typedef char *cvector __attribute__ ((vector_size (16))); +// typedef char *cvector; static int run(SchedTask *s, void *rbuf, void *wbuf)