changeset 1532:7bba18c7da14 draft

remove duplicate
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Fri, 07 Dec 2012 16:26:56 +0900
parents 4443d59a8210
children dfe2bbcf3a22
files TaskManager/Cell/spe/SpeTaskManagerImpl.cc TaskManager/Cell/spe/SpeTaskManagerImpl.h
diffstat 2 files changed, 7 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/TaskManager/Cell/spe/SpeTaskManagerImpl.cc	Fri Dec 07 15:46:27 2012 +0900
+++ b/TaskManager/Cell/spe/SpeTaskManagerImpl.cc	Fri Dec 07 16:26:56 2012 +0900
@@ -8,8 +8,9 @@
 void SpeTaskManagerImpl::init(int spuIdle_, int useRefDma=0, int export_task_log=0) {}
 void SpeTaskManagerImpl::run() {}
 
-HTaskPtr SpeTaskManagerImpl::create_task(int cmd) {return 0;}
-HTaskPtr SpeTaskManagerImpl::create_task(int cmd, memaddr rbuf, long rs, memaddr wbuf, long ws) { return 0; }
+HTaskPtr SpeTaskManagerImpl::create_task(int cmd, void *from) {return 0;}
+HTaskPtr SpeTaskManagerImpl::create_task(int cmd, memaddr rbuf, long r_size, memaddr wbuf, long w_size,void *from) { return 0; } 
+
 void SpeTaskManagerImpl::set_task_depend(HTaskPtr master, HTaskPtr slave) {}
 void SpeTaskManagerImpl::spawn_task(HTaskPtr) {}
 void SpeTaskManagerImpl::set_task_cpu(HTaskPtr, CPU_TYPE) {}
@@ -28,11 +29,4 @@
 void SpeTaskManagerImpl::append_waitTask(HTask* p) {}
 
 
-HTaskPtr SpeTaskManagerImpl::create_task(int cmd,void *from) {return 0;}
-HTaskPtr SpeTaskManagerImpl::create_task(int cmd, memaddr rbuf, long rs, memaddr wbuf, long ws,void *from) { return 0; }
-HTask * SpeTaskManagerImpl::create_task_array(int id, int num_task, int num_param, int num_inData, int num_outData,void *from) {return 0;}
-//void TaskManagerImpl::set_task_depend(HTaskPtr master, HTaskPtr slave) {}
-//void TaskManagerImpl::spawn_task(HTaskPtr) {}
-//void TaskManagerImpl::set_task_cpu(HTaskPtr, CPU_TYPE) {}
-
 #endif
--- a/TaskManager/Cell/spe/SpeTaskManagerImpl.h	Fri Dec 07 15:46:27 2012 +0900
+++ b/TaskManager/Cell/spe/SpeTaskManagerImpl.h	Fri Dec 07 16:26:56 2012 +0900
@@ -21,9 +21,10 @@
     void start_profile();
     void show_profile();
     void export_task_log();
-    virtual HTaskPtr create_task(int cmd);
-    HTaskPtr create_task(int cmd, memaddr rbuf, long r_size, memaddr wbuf, long w_size);
-    HTaskPtr create_task_array(int cmd, memaddr rbuf, long rs, memaddr wbuf, long ws);
+    HTaskPtr create_task(int cmd,void *from);
+    HTaskPtr create_task(int cmd, memaddr rbuf, long r_size, memaddr wbuf, long w_size,void *from);
+    HTaskPtr create_task_array(int id, int num_task, int num_param, int num_inData, int num_outData,void *from);
+
     TaskListPtr createTaskList() { return 0; }
     void set_task_depend(HTaskPtr master, HTaskPtr slave);
     void spawn_task(HTaskPtr);