Mercurial > hg > Game > Cerium
diff example/many_task/ppe/QuickSort.cc @ 936:178fbcc81fda draft
dead lock on spu/ppu mail
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Sat, 31 Jul 2010 05:31:12 +0900 |
parents | 83b64b7a51bd |
children | 20beb83a5a22 |
line wrap: on
line diff
--- a/example/many_task/ppe/QuickSort.cc Sat Jul 31 03:13:24 2010 +0900 +++ b/example/many_task/ppe/QuickSort.cc Sat Jul 31 05:31:12 2010 +0900 @@ -21,7 +21,7 @@ // copy value int begin = 0; #if USE_SIMPLE_TASK - long end = s->read_size()/sizeof(Data); + int end = s->read_size()/sizeof(Data); Data *r_data = (Data*)rbuff; #ifdef USE_MEMCPY Data *w_data = (Data*)wbuff; @@ -34,7 +34,7 @@ #endif #endif - //printf("[PPE] Quick: length:%d addr->%x \n",end, (int*)rbuff); + printf("[PPE] Quick: length:%d addr->%x \n",end, (int)rbuff); //printf("[PPE] Quick: data[0]: %d addr->%x\n",sizeof(r_data),r_data); //show_data(r_data, end);