# -DSTREAM_ARRAY_SIZE=Number of elements in test arrays (default 10 million)# -DNTIMES=Number of times to repeat the test cycle (default 10)# -DOFFSET=Offset of test arrays, may affect array alignment (default 0)# -DSTREAM_TYPE=Type of the test arrays (default 'double')# -DVERBOSE=Verbose output# set OMP_NUM_THREADS=N to set number of openmp threads (default system max)CC= gccNTIMES= 500STREAM_ARRAY_SIZE= 30000000OFFSET= 0STREAM_TYPE= doubleOPT= O2CFLAGS= -$(OPT)-fopenmp-DNTIMES=$(NTIMES)-DSTREAM_ARRAY_SIZE=$(STREAM_ARRAY_SIZE)-DOFFSET=$(OFFSET)-DSTREAM_TYPE=$(STREAM_TYPE)-DFILEOUTPUTall:streamcstreamc:stream.c$(CC)$(CFLAGS) stream.c -lm-o streamcmac:stream.c gcc-6 $(CFLAGS) stream.c -o streamcclean:rm-f streamc *.o