Mercurial > hg > Game > Cerium
comparison 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 |
comparison
equal
deleted
inserted
replaced
1726:9e4d2827d804 | 1727:e99dc86d39e2 |
---|---|
1 #include "GpuFunc.h" | 1 #include "Func.h" |
2 #include "GpuScheduler.h" | 2 #include "GpuScheduler.h" |
3 | 3 |
4 SchedExternTask(Twice); | 4 SchedExternTask(Twice); |
5 | 5 |
6 void | 6 void |
7 gpu_task_init(void) | 7 gpu_task_init(void) |
8 { | 8 { |
9 GpuSchedRegister(Twice, "gpu/twice.cl", "twice"); | 9 GpuSchedRegister(TWICE_TASK, "gpu/twice.cl", "twice"); |
10 } | 10 } |
11 | 11 |
12 void task_init(void) | 12 void task_init(void) |
13 { | 13 { |
14 SchedRegister(Twice); | 14 SchedRegisterTask(TWICE_TASK,Twice); |
15 } | 15 } |