Skip to content

Commit

Permalink
Show all stream output lines where the array validation checks fail.
Browse files Browse the repository at this point in the history
The error checking that stream does produces errors when memory
isn't working reliably look like this:

-------------------------------------------------------------
Failed Validation on array a[]
        Expected  : 2250990824307890585600.000000
        Observed  : 2250990759458997010432.000000
-------------------------------------------------------------

Due to how stream-scaling filters the output from the program to
make it less verbose, those were not shown when they appeared with
more than 1 thread active.  Now all three of the error lines in
that case will show up.
  • Loading branch information
Greg Smith authored and Greg Smith committed Jul 18, 2012
1 parent ebfc6aa commit ce86469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stream-scaling
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ while [[ $i -le $MAX_CORES ]] ; do
./stream
else
# Show just a summary after the first line.
./stream | egrep "Number of Threads requested|Function|Triad"
./stream | egrep "Number of Threads requested|Function|Triad|Failed|Expected|Observed"
fi

((i++))
Expand Down

0 comments on commit ce86469

Please sign in to comment.