diff TaskManager/kernel/ppe/HTask.cc @ 1191:bd4a27ae2524 draft

success run to ballbound
author Daichi TOMA <e085740@ie.u-ryukyu.ac.jp>
date Fri, 08 Jul 2011 19:37:08 +0900
parents 5393bebe0956
children 515a0f15b5d2
line wrap: on
line diff
--- a/TaskManager/kernel/ppe/HTask.cc	Fri Jul 08 18:34:18 2011 +0900
+++ b/TaskManager/kernel/ppe/HTask.cc	Fri Jul 08 19:37:08 2011 +0900
@@ -77,7 +77,8 @@
     r_size = Task::calc_size(num_param, num_inData, num_outData)*num_task;
     rbuf = (memaddr) mimpl->allocate(r_size);
     //printf("r_size %d\n",r_size);
-//    bzero(rbuf,r_size);
+	//bzeroするのはcostが高いので外したい
+    bzero(rbuf,r_size);
     Task *task = (Task*)rbuf;
     task->init(id, num_param,num_inData,num_outData);
 // task->print();