Mercurial > hg > Members > kono > Cerium
annotate TaskManager/Cell/spe/SpeTaskManagerImpl.h @ 895:bed529c55eda
add alignment of classes in SPU
width and height are automatically set in frame buffer API
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 16 Jul 2010 17:23:49 +0900 |
parents | dc3621ee7816 |
children | 586b4f825f24 |
rev | line source |
---|---|
637 | 1 #ifndef INCLUDED_SPE_TASK_MANAGER_IMPL |
2 #define INCLUDED_SPE_TASK_MANAGER_IMPL | |
619 | 3 |
637 | 4 #include "TaskManagerImpl.h" |
5 #include "MainScheduler.h" | |
6 #include "Scheduler.h" | |
621 | 7 |
637 | 8 class SpeTaskManagerImpl : public TaskManagerImpl { |
9 public: | |
621 | 10 /* constructor */ |
664 | 11 BASE_NEW_DELETE(SpeTaskManagerImpl); |
12 | |
637 | 13 SpeTaskManagerImpl() ; |
14 ~SpeTaskManagerImpl(); | |
619 | 15 |
637 | 16 /* functions */ |
17 // call by system | |
18 void init(); | |
19 void run(); | |
672 | 20 void start_profile(); |
21 void show_profile(); | |
621 | 22 HTaskPtr create_task(int cmd); |
637 | 23 HTaskPtr create_task(int cmd, memaddr rbuf, long r_size, memaddr wbuf, long w_size); |
802 | 24 HTaskPtr create_task_array(int cmd, memaddr rbuf, long rs, memaddr wbuf, long ws); |
621 | 25 void set_task_depend(HTaskPtr master, HTaskPtr slave); |
26 void spawn_task(HTaskPtr); | |
27 void set_task_cpu(HTaskPtr, CPU_TYPE); | |
835 | 28 void polling() {} |
637 | 29 |
895
bed529c55eda
add alignment of classes in SPU
Shinji KONO <kono@ie.u-ryukyu.ac.jp>
parents:
835
diff
changeset
|
30 } __attribute__ ((aligned (DEFAULT_ALIGNMENT))); |
619 | 31 |
32 | |
637 | 33 #endif /* INCLUDED_SPE_TASK_MANAGER_IMPL */ |