# HG changeset patch # User kazz@henri.cr.ie.u-ryukyu.ac.jp # Date 1253886277 -32400 # Node ID 682a9bb1e2cc1f9673f95e250eb26104996aa214 # Parent baefa979bb31c0933b040ce2ff174ebb98ec22eb tag fixed... test_nogl move diff -r baefa979bb31 -r 682a9bb1e2cc TaskManager/Cell/spe/CellScheduler.cc --- a/TaskManager/Cell/spe/CellScheduler.cc Fri Sep 25 22:04:17 2009 +0900 +++ b/TaskManager/Cell/spe/CellScheduler.cc Fri Sep 25 22:44:37 2009 +0900 @@ -66,7 +66,7 @@ そのためには、全部で、get_tag()する必要があるはず。 */ -/* + #define TEX_LOAD1 0 #define TEX_LOAD2 1 @@ -77,7 +77,7 @@ int i = (count++ % 2); return TEX_LOAD1*i + TEX_LOAD2*(1-i); } - */ + /* end */ diff -r baefa979bb31 -r 682a9bb1e2cc TaskManager/Cell/spe/CellScheduler.h --- a/TaskManager/Cell/spe/CellScheduler.h Fri Sep 25 22:04:17 2009 +0900 +++ b/TaskManager/Cell/spe/CellScheduler.h Fri Sep 25 22:44:37 2009 +0900 @@ -13,7 +13,7 @@ void *allocate(int size); void mainMem_alloc(int id, int size); void mainMem_wait(void); - // uint32 get_tag(); + uint32 get_tag(); private: int mainMemNum; diff -r baefa979bb31 -r 682a9bb1e2cc TaskManager/kernel/schedule/Scheduler.cc --- a/TaskManager/kernel/schedule/Scheduler.cc Fri Sep 25 22:04:17 2009 +0900 +++ b/TaskManager/kernel/schedule/Scheduler.cc Fri Sep 25 22:44:37 2009 +0900 @@ -492,7 +492,7 @@ Scheduler::get_tag() { static int tag = 0; - tag = tag++ & 0x1f; + tag = tag++ & 0x0f; return tag; }