diff example/Bulk/spe/Twice.cc @ 787:5df90e02e34f

fix Bulk
author yutaka@localhost.localdomain
date Sat, 24 Apr 2010 17:25:46 +0900 (2010-04-24)
parents e4d2b823903c
children
line wrap: on
line diff
--- a/example/Bulk/spe/Twice.cc	Sat Apr 24 15:24:33 2010 +0900
+++ b/example/Bulk/spe/Twice.cc	Sat Apr 24 17:25:46 2010 +0900
@@ -14,9 +14,9 @@
     int *i_data;
     int *o_data;
     long length;
-    int count = (int)s->get_param(0);
+    int data_count = (int)s->get_param(0);
 
-    for(int j = 0; j<count; j++) {
+    for(int j = 0; j<data_count; j++) {
 	i_data = (int*)s->get_input(rbuf, j);
 	o_data = (int*)s->get_output(wbuf, j);
 	length = (long)s->get_param(j+1);