annotate example/Null/spe/spe-main.cc @ 1710:d32d5659695a draft

run gpu example
author Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
date Tue, 08 Oct 2013 18:05:11 +0900
parents e38a4f3e238d
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1285
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 #include "Func.h"
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
2 #include "Scheduler.h"
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 SchedExternTask(NullTask);
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 void
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 task_init(Scheduler *s)
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 {
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 SchedRegister(NullTask);
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 }
e38a4f3e238d add NullTask
Daichi Toma <toma@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11