fix the bug in flood test for smp case
authorYanhuaSun <sun51@illinois.edu>
Sat, 13 Apr 2013 16:37:09 +0000 (11:37 -0500)
committerYanhuaSun <sun51@illinois.edu>
Sat, 13 Apr 2013 16:37:09 +0000 (11:37 -0500)
tests/converse/commbench/flood.c

index 477cecd5e7a203a1b9df9a1fed400b3727801ad2..b5427624a9abaa7f70920c87d109716a59278d25 100644 (file)
@@ -263,6 +263,8 @@ void flood_moduleinit(void)
   pva(numRecv) = 0;
   pvi(int, nextIter);
   pva(nextIter) = -1;
+  pvi(int, doneNum);
+  pva(doneNum) = 0;
   pvi(int, nextSize);
   pva(nextSize) = -1;
   pvi(int, nextNbr);