annotate TaskManager/test/SetCpuTest/gpu/task_init.cc @ 1643:6c0b6947c231 draft

fix fft
author Shohei KOKUBO <e105744@ie.u-ryukyu.ac.jp>
date Sat, 22 Jun 2013 18:10:55 +0900
parents 39a381fec1e7
children e99dc86d39e2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1628
b3edf26734f5 add SetCpuTest
shohei kokubo
parents:
diff changeset
1 #include "GpuFunc.h"
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 {
1628
b3edf26734f5 add SetCpuTest
shohei kokubo
parents:
diff changeset
9 GpuSchedRegister(Twice, "gpu/twice.cl", "twice");
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 {
39a381fec1e7 cpu, gpu coexistence
shohei kokubo
parents: 1628
diff changeset
14 SchedRegister(Twice);
39a381fec1e7 cpu, gpu coexistence
shohei kokubo
parents: 1628
diff changeset
15 }