Mercurial > hg > Members > kono > Cerium
view TaskManager/Cell/spe/CellScheduler.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 | 95dbf6bd8cd9 |
children | 586b4f825f24 |
line wrap: on
line source
#ifndef INCLUDED_CELL_SCHEDULER #define INCLUDED_CELL_SCHEDULER #include "base.h" #include "Scheduler.h" class CellScheduler : public Scheduler { public: BASE_NEW_DELETE(CellScheduler); void init_impl(void); void *allocate(int size); void mainMem_alloc(int id, int size); void mainMem_wait(void); uint32 get_tag(); private: int mainMemNum; } __attribute__ ((aligned (DEFAULT_ALIGNMENT))); #endif