annotate TaskManager/test/SetCpuTest/gpu/task_init.cc @ 1727:e99dc86d39e2 draft

minor fix
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Wed, 30 Oct 2013 19:05:38 +0900
parents 39a381fec1e7
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 }