diff --git a/tests/stream-ceprei/run.sh b/tests/stream-ceprei/run.sh index 21a0f4596bff61c95cca3ab6c14adcf0b530fe37..29af8a8a5ec73a147d441b90732d1f18533e058d 100644 --- a/tests/stream-ceprei/run.sh +++ b/tests/stream-ceprei/run.sh @@ -12,7 +12,9 @@ run() STREAM_ARRAY_SIZE=$(echo "$l3_cache_bytes_all * 4.1 /8" | bc) echo "STREAM_ARRAY_SIZE: $STREAM_ARRAY_SIZE" - + if [ -z "$STREAM_ARRAY_SIZE" ]; then + STREAM_ARRAY_SIZE="100000000" + fi if [ $test == 'full_thread' ];then gcc -O3 stream.c -o stream -D"STREAM_ARRAY_SIZE=$STREAM_ARRAY_SIZE" -fopenmp else