diff example/many_task/ppe/QuickSort.cc @ 1079:7823233584da draft

single cpu run on Mac OS X
author one@zeus.cr.ie.u-ryukyu.ac.jp
date Sat, 18 Dec 2010 11:04:58 +0900
parents 9ed1c4a877ca
children 704b9e320f1e
line wrap: on
line diff
--- a/example/many_task/ppe/QuickSort.cc	Sat Dec 18 09:43:08 2010 +0900
+++ b/example/many_task/ppe/QuickSort.cc	Sat Dec 18 11:04:58 2010 +0900
@@ -35,7 +35,7 @@
 #endif
 
     // 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); 
+    printf("[PPE] Quick: data[0]: %ld addr->%lx\n",sizeof(r_data),(long)r_data); 
 
     //show_data(r_data, end);
     quick_sort(r_data, begin, end-1);