diff 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
line wrap: on
line diff
--- a/TaskManager/test/SetCpuTest/gpu/task_init.cc	Wed Oct 30 18:34:52 2013 +0900
+++ b/TaskManager/test/SetCpuTest/gpu/task_init.cc	Wed Oct 30 19:05:38 2013 +0900
@@ -1,4 +1,4 @@
-#include "GpuFunc.h"
+#include "Func.h"
 #include "GpuScheduler.h"
 
 SchedExternTask(Twice);
@@ -6,10 +6,10 @@
 void
 gpu_task_init(void)
 {
-    GpuSchedRegister(Twice, "gpu/twice.cl", "twice");
+    GpuSchedRegister(TWICE_TASK, "gpu/twice.cl", "twice");
 }
 
 void task_init(void)
 {
-  SchedRegister(Twice);
+    SchedRegisterTask(TWICE_TASK,Twice);
 }