Mercurial > hg > Members > kono > Cerium
annotate example/Bulk/ppe/task_init.cc @ 684:458a1ad91427
Task Array generation worked.
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 06 Dec 2009 23:03:28 +0900 |
parents | dbe137505f2e |
children |
rev | line source |
---|---|
652 | 1 #include "Func.h" |
2 #include "Scheduler.h" | |
3 | |
4 /* 必ずこの位置に書いて */ | |
5 SchedExternTask(Twice); | |
6 | |
7 /** | |
8 * この関数は ../spe/spe-main と違って | |
9 * 自分で呼び出せばいい関数なので | |
10 * 好きな関数名でおk (SchedRegisterTask は必須) | |
11 */ | |
12 | |
13 void | |
14 task_init(void) | |
15 { | |
684
458a1ad91427
Task Array generation worked.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
652
diff
changeset
|
16 SchedRegister(Twice); |
652 | 17 } |