From ae7ce9646ac169c653defdef591acfcb4a7379d5 Mon Sep 17 00:00:00 2001 From: Eliot Eshelman Date: Mon, 28 Apr 2014 23:29:29 -0400 Subject: [PATCH] Bug fix for STREAM 5.10 The new version renamed the preprocessor directive N to STREAM_ARRAY_SIZE. The stream-scaling script needs to use the new name. --- stream-scaling | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream-scaling b/stream-scaling index 48f669e..7b62463 100755 --- a/stream-scaling +++ b/stream-scaling @@ -271,7 +271,7 @@ function stream_array_elements { echo === CPU cache information === stream_array_elements ARRAY_SIZE -ARRAY_FLAG="-DN=$ARRAY_SIZE" +ARRAY_FLAG="-D STREAM_ARRAY_SIZE=$ARRAY_SIZE" if [ -n "$DEBUG" ] ; then echo Array size is $ARRAY_SIZE echo Array flag is $ARRAY_FLAG