changeset 1512:30145272ff0b draft cell

fix Makefile for cell
author Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
date Tue, 02 Oct 2012 18:17:34 +0900
parents 34582cd8a7af
children 32305a19a380
files TaskManager/Cell/spe/SpeTaskManagerImpl.cc TaskManager/Makefile.cell
diffstat 2 files changed, 11 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/TaskManager/Cell/spe/SpeTaskManagerImpl.cc	Tue Oct 02 16:20:44 2012 +0900
+++ b/TaskManager/Cell/spe/SpeTaskManagerImpl.cc	Tue Oct 02 18:17:34 2012 +0900
@@ -21,15 +21,18 @@
 void SpeTaskManagerImpl::print_arch() { printf("SpeTaskManagerImpl\n"); }
 
 // Odd
-#ifdef __CERIUM_GPU__
+#ifndef __CERIUM_FIFO__
 
-SpeTaskManagerImpl::SpeTaskManagerImpl(int i) {}
-void SpeTaskManagerImpl::append_activeTask(HTask* p) {}
-void SpeTaskManagerImpl::append_waitTask(HTask* p) {}
+TaskManagerImpl::TaskManagerImpl(int i) {}
+void TaskManagerImpl::append_activeTask(HTask* p) {}
+void TaskManagerImpl::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;}
+HTaskPtr TaskManagerImpl::create_task(int cmd,void *from) {return 0;}
+HTaskPtr TaskManagerImpl::create_task(int cmd, memaddr rbuf, long rs, memaddr wbuf, long ws,void *from) { return 0; }
+HTask * TaskManagerImpl::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/Makefile.cell	Tue Oct 02 16:20:44 2012 +0900
+++ b/TaskManager/Makefile.cell	Tue Oct 02 18:17:34 2012 +0900
@@ -36,7 +36,7 @@
 
 # $(wildcard $(CELL_SPE_DIR)/*.cc)
 
-CELL_SPE_OBJS = $(CELL_SPE_SRCS:.cc=.o) $(CELL_SPE_SCHEDULE_OBJ) $(CELL_SPE_TASK_SRCS:.cc=.o) # $(CELL_SPE_PROFILE:.cc=.o)
+CELL_SPE_OBJS = $(CELL_SPE_SRCS:.cc=.o) $(CELL_SPE_SCHEDULE_OBJ) $(CELL_SPE_TASK_SRCS:.cc=.o) $(CELL_SPE_PROFILE:.cc=.o)
 
 SPUCC = spu-g++ -DABIBIT=$(ABIBIT)