comparison example/many_task/spe/QuickSort.cc @ 626:0e91ddaad798 draft

64bit mode compatibility on Cell
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 16 Nov 2009 11:37:26 +0900
parents 839e34d0cc3c
children 53ad3a61b40b
comparison
equal deleted inserted replaced
625:94d82f2c842f 626:0e91ddaad798
11 static void swap(Data *data, int left, int right); 11 static void swap(Data *data, int left, int right);
12 12
13 static int 13 static int
14 run(SchedTask *smanager, void* rbuff, void* wbuff) { 14 run(SchedTask *smanager, void* rbuff, void* wbuff) {
15 int begin = 0; 15 int begin = 0;
16 int end = smanager->get_param(0); 16 int end = (long)smanager->get_param(0);
17 DataPtr r_data = (DataPtr)smanager->get_input(0); 17 DataPtr r_data = (DataPtr)smanager->get_input(0);
18 DataPtr w_data = (DataPtr)smanager->get_output(0); 18 DataPtr w_data = (DataPtr)smanager->get_output(0);
19 //SpeProfile *prof = new SpeProfile; 19 //SpeProfile *prof = new SpeProfile;
20 20
21 //prof->ProfStart(); 21 //prof->ProfStart();