Stream安装配置教程


Stream安装配置教程
 
[root@RedHat stream]# make
gcc -O2 stream.c -o stream
[root@RedHat stream]# ls
Makefile  stream  stream.c  stream.f
[root@RedHat stream]# ./stream
-------------------------------------------------------------
STREAM version $Revision: 5.9 $
-------------------------------------------------------------
This system uses 8 bytes per DOUBLE PRECISION word.
-------------------------------------------------------------
Array size = 2000000, Offset = 0
Total memory required = 45.8 MB.
Each test is run 10 times, but only
the *best* time for each is used.
-------------------------------------------------------------
Printing one line per active thread....
-------------------------------------------------------------
Your clock granularity/precision appears to be 6 microseconds.
Each test below will take on the order of 17340 microseconds.
   (= 2890 clock ticks)
Increase the size of the arrays if this shows that
you are not getting at least 20 clock ticks per test.
-------------------------------------------------------------
WARNING -- The above is only a rough guideline.
For best results, please be sure you know the
precision of your system timer.
-------------------------------------------------------------
Function      Rate (MB/s)   Avg time     Min time     Max time
Copy:        2264.0171       0.0154       0.0141       0.0169
Scale:       2212.8422       0.0154       0.0145       0.0164
Add:         2936.3309       0.0196       0.0163       0.0214
Triad:       2673.8123       0.0199       0.0180       0.0216
-------------------------------------------------------------
Solution Validates
-------------------------------------------------------------
[root@RedHat stream]#
 

相关内容

    暂无相关文章