Fix in commbench reduction and broadcast benchmark
authorNikhil Jain <nikhil@illinois.edu>
Tue, 27 Dec 2011 18:41:31 +0000 (12:41 -0600)
committerNikhil Jain <nikhil@illinois.edu>
Tue, 27 Dec 2011 18:41:31 +0000 (12:41 -0600)
tests/converse/commbench/broadcast.c
tests/converse/commbench/reduction.c

index dc782215bc9da846b6c9311aac18331f1193f20f..c5dc63d56e51bb8221db49283f9712f1dfd0ea5b 100644 (file)
@@ -44,8 +44,8 @@ static struct testdata {
   {4096,    1024,      0.0},
   {16384,   1024,      0.0},
   {65536,   1024,      0.0},
-  {262144,  1024,      0.0},
-  {1048576, 1024,      0.0},
+  {262144,  256,       0.0},
+  {1048576, 64,        0.0},
   {-1,      -1,        0.0},
 };
 
index 061be806972d99c55293d676d397cc5f1dad590e..36bd3a4f600cbd0728d1ae8f73b3423340ca683d 100644 (file)
@@ -213,9 +213,9 @@ void reduction_moduleinit(void)
   CpvInitialize(int, flip);
   CpvInitialize(int, currentPe);
   CpvInitialize(double, starttime);
-  CpvInitialize(doube, lasttime);
-  CpvInitialize(doube, endtime);
-  CpvInitialize(pdoube, timediff);
+  CpvInitialize(double, lasttime);
+  CpvInitialize(double, endtime);
+  CpvInitialize(pdouble, timediff);
   CpvInitialize(int, sync_starter);
   CpvInitialize(int, sync_reply);
   CpvInitialize(int, reduction_starter);