annotate TaskManager/test/SetCpuTest/gpu/task_init.cc @ 1876:5e17ab506299 draft

change CPU_TYPE SPE_ANY to IO/0 ( cannot running )
author Masataka Kohagura <e085726@ie.u-ryukyu.ac.jp>
date Mon, 30 Dec 2013 20:52:21 +0900
parents e99dc86d39e2
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1727
e99dc86d39e2 minor fix
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 1631
diff changeset
1 #include "Func.h"
1628
b3edf26734f5 add SetCpuTest
shohei kokubo
parents:
diff changeset
2 #include "GpuScheduler.h"
b3edf26734f5 add SetCpuTest
shohei kokubo
parents:
diff changeset
3
1631
39a381fec1e7 cpu, gpu coexistence
shohei kokubo
parents: 1628
diff changeset
4 SchedExternTask(Twice);
39a381fec1e7 cpu, gpu coexistence
shohei kokubo
parents: 1628
diff changeset
5
1628
b3edf26734f5 add SetCpuTest
shohei kokubo
parents:
diff changeset
6 void
1631
39a381fec1e7 cpu, gpu coexistence
shohei kokubo
parents: 1628
diff changeset
7 gpu_task_init(void)
39a381fec1e7 cpu, gpu coexistence
shohei kokubo
parents: 1628
diff changeset
8 {
1727
e99dc86d39e2 minor fix
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 1631
diff changeset
9 GpuSchedRegister(TWICE_TASK, "gpu/twice.cl", "twice");
1628
b3edf26734f5 add SetCpuTest
shohei kokubo
parents:
diff changeset
10 }
1631
39a381fec1e7 cpu, gpu coexistence
shohei kokubo
parents: 1628
diff changeset
11
39a381fec1e7 cpu, gpu coexistence
shohei kokubo
parents: 1628
diff changeset
12 void task_init(void)
39a381fec1e7 cpu, gpu coexistence
shohei kokubo
parents: 1628
diff changeset
13 {
1727
e99dc86d39e2 minor fix
Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
parents: 1631
diff changeset
14 SchedRegisterTask(TWICE_TASK,Twice);
1631
39a381fec1e7 cpu, gpu coexistence
shohei kokubo
parents: 1628
diff changeset
15 }