Mercurial > hg > Members > kono > Cerium
comparison example/word_count/spe/Exec.cc @ 663:8a807e2f64f8
incremental task creation on word count_test
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 02 Dec 2009 22:20:32 +0900 |
parents | 6929d888fd69 |
children | 4615489c5faa |
comparison
equal
deleted
inserted
replaced
662:b72663cf056a | 663:8a807e2f64f8 |
---|---|
4 #include "Func.h" | 4 #include "Func.h" |
5 | 5 |
6 /* これは必須 */ | 6 /* これは必須 */ |
7 SchedDefineTask(Exec); | 7 SchedDefineTask(Exec); |
8 | 8 |
9 typedef char *cvector __attribute__ ((vector_size (16))); | 9 // typedef char *cvector __attribute__ ((vector_size (16))); |
10 // typedef char *cvector; | 10 typedef char *cvector; |
11 | 11 |
12 static int | 12 static int |
13 run(SchedTask *s, void *rbuf, void *wbuf) | 13 run(SchedTask *s, void *rbuf, void *wbuf) |
14 { | 14 { |
15 cvector i_data ; | 15 cvector i_data ; |