Mercurial > hg > Game > Cerium
annotate TaskManager/Cell/spe/SpeTaskManagerImpl.cc @ 1511:34582cd8a7af draft cell
Fix compile error for cell
author | Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 02 Oct 2012 16:20:44 +0900 (2012-10-02) |
parents | f2512fb94223 |
children | 30145272ff0b |
rev | line source |
---|---|
621 | 1 #include "SpeTaskManagerImpl.h" |
619 | 2 #include "Scheduler.h" |
636
aba1600e8f83
Cell Simple Task compiled. but not worked.
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
621
diff
changeset
|
3 #include <stdlib.h> |
619 | 4 |
637 | 5 SpeTaskManagerImpl::SpeTaskManagerImpl() {} |
6 SpeTaskManagerImpl::~SpeTaskManagerImpl() {} | |
619 | 7 |
1479
163220e54cc0
remove hard code for TaskLog
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
1428
diff
changeset
|
8 void SpeTaskManagerImpl::init(int spuIdle_, int useRefDma=0, int export_task_log=0) {} |
637 | 9 void SpeTaskManagerImpl::run() {} |
10 | |
11 HTaskPtr SpeTaskManagerImpl::create_task(int cmd) {return 0;} | |
12 HTaskPtr SpeTaskManagerImpl::create_task(int cmd, memaddr rbuf, long rs, memaddr wbuf, long ws) { return 0; } | |
13 void SpeTaskManagerImpl::set_task_depend(HTaskPtr master, HTaskPtr slave) {} | |
14 void SpeTaskManagerImpl::spawn_task(HTaskPtr) {} | |
15 void SpeTaskManagerImpl::set_task_cpu(HTaskPtr, CPU_TYPE) {} | |
16 | |
672 | 17 void SpeTaskManagerImpl::show_profile() {} |
18 void SpeTaskManagerImpl::start_profile() {} | |
1428
af2adce9752e
add to export TaskLog
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
1229
diff
changeset
|
19 void SpeTaskManagerImpl::export_task_log() {} |
672 | 20 |
1070 | 21 void SpeTaskManagerImpl::print_arch() { printf("SpeTaskManagerImpl\n"); } |
22 | |
672 | 23 // Odd |
1511
34582cd8a7af
Fix compile error for cell
Daichi TOMA <toma@cr.ie.u-ryukyu.ac.jp>
parents:
1480
diff
changeset
|
24 #ifdef __CERIUM_GPU__ |
672 | 25 |
1480
f2512fb94223
GpuTaskManager no compile error
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents:
1479
diff
changeset
|
26 SpeTaskManagerImpl::SpeTaskManagerImpl(int i) {} |
f2512fb94223
GpuTaskManager no compile error
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents:
1479
diff
changeset
|
27 void SpeTaskManagerImpl::append_activeTask(HTask* p) {} |
f2512fb94223
GpuTaskManager no compile error
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents:
1479
diff
changeset
|
28 void SpeTaskManagerImpl::append_waitTask(HTask* p) {} |
619 | 29 |
672 | 30 |
1480
f2512fb94223
GpuTaskManager no compile error
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents:
1479
diff
changeset
|
31 HTaskPtr SpeTaskManagerImpl::create_task(int cmd,void *from) {return 0;} |
f2512fb94223
GpuTaskManager no compile error
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents:
1479
diff
changeset
|
32 HTaskPtr SpeTaskManagerImpl::create_task(int cmd, memaddr rbuf, long rs, memaddr wbuf, long ws,void *from) { return 0; } |
f2512fb94223
GpuTaskManager no compile error
Yuhi TOMARI <yuhi@cr.ie.u-ryukyu.ac.jp>
parents:
1479
diff
changeset
|
33 HTask * SpeTaskManagerImpl::create_task_array(int id, int num_task, int num_param, int num_inData, int num_outData,void *from) {return 0;} |
619 | 34 |
1179 | 35 #endif |