summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--incrementArrays.cu2
1 files changed, 1 insertions, 1 deletions
diff --git a/incrementArrays.cu b/incrementArrays.cu
index 3f727b6..179616b 100644
--- a/incrementArrays.cu
+++ b/incrementArrays.cu
@@ -35,7 +35,7 @@ int main(void)
// initialization of host data
for (i=0; i<N; i++) {
- printf("%.2f\n", i);
+ printf("%i\n", i);
a_h[i] = (float) i;
}
printf("\n");