-------------------------------------------------------------------------
Revisions as of Thu, Jan 17, 2013 3:50:01 PM
Version 5.10 of stream.c has been released.
This version includes improved validation code and will automatically
use 64-bit array indices on 64-bit systems to allow very large arrays.
-------------------------------------------------------------------------
Revisions as of Thu Feb 19 08:16:57 CST 2009
Note that the codes in the "Versions" subdirectory should be
considered obsolete -- the versions of stream.c and stream.f
in this main directory include the OpenMP directives and structure
for creating "TUNED" versions.
Only the MPI version in the "Versions" subdirectory should be
of any interest, and I have not recently checked that version for
errors or compliance with the current versions of stream.c and
stream.f.
I added a simple Makefile to this directory. It works under Cygwin
on my Windows XP box (using gcc and g77).
A user suggested a sneaky trick for "mysecond.c" -- instead of using
the #ifdef UNDERSCORE to generate the function name that the Fortran
compiler expects, the new version simply defines both "mysecond()"
and "mysecond_()", so it should automagically link with most Fortran
compilers.
-------------------------------------------------------------------------
Revisions as of Wed Nov 17 09:15:37 CST 2004
The most recent "official" versions have been renamed "stream.f" and
"stream.c" -- all other versions have been moved to the "Versions"
subdirectory.
The "official" timer (was "second_wall.c") has been renamed "mysecond.c".
This is embedded in the C version ("stream.c"), but still needs to be
externally linked to the FORTRAN version ("stream.f").
-------------------------------------------------------------------------
Revisions as of Tue May 27 11:51:23 CDT 2003
Copyright and License info added to stream_d.f, stream_mpi.f, and
stream_tuned.f
-------------------------------------------------------------------------
Revisions as of Tue Apr 8 10:26:48 CDT 2003
I changed the name of the timer interface from "second" to "mysecond"
and removed the dummy argument in all versions of the source code (but
not the "Contrib" versions).
-------------------------------------------------------------------------
Revisions as of Mon Feb 25 06:48:14 CST 2002
Added an OpenMP version of stream_d.c, called stream_d_omp.c. This is
still not up to date with the Fortran version, which includes error
checking and advanced data flow to prevent overoptimization, but it is
a good start....
-------------------------------------------------------------------------
Revisions as of Tue Jun 4 16:31:31 EDT 1996
I have fixed an "off-by-one" error in the RMS time calculation in
stream_d.f. This was already corrected in stream_d.c. No results are
invalidated, since I use minimum time instead of RMS time anyway....
-------------------------------------------------------------------------
Revisions as of Fri Dec 8 14:49:56 EST 1995
I have renamed the timer routines to:
second_cpu.c
second_wall.c
second_cpu.f
All have a function interface named 'second' which returns a double
precision floating point number. It should be possible to link
second_wall.c with stream_d.f without too much trouble, though the
details will depend on your environment.
If anyone builds versions of these timers for machines running the
Macintosh O/S or DOS/Windows, I would appreciate getting a copy.
To clarify:
* For single-user machines, the wallclock timer is preferred.
* For parallel machines, the wallclock timer is required.
* For time-shared systems, the cpu timer is more reliable,
though less accurate.
-------------------------------------------------------------------------
Revisions as of Wed Oct 25 09:40:32 EDT 1995
(1) NOTICE to C users:
stream_d.c has been updated to version 4.0 (beta), and
should be functionally identical to stream_d.f
Two timers are provided --- second_cpu.c and second_wall.c
second_cpu.c measures cpu time, while second_wall.c measures
elapsed (real) time.
For single-user machines, the wallclock timer is preferred.
For parallel machines, the wallclock timer is required.
For time-shared systems, the cpu timer is more reliable,
though less accurate.
(2) cstream.c has been removed -- use stream_d.c
(3) stream_wall.f has been removed --- to do parallel aggregate
bandwidth runs, comment out the definition of FUNCTION SECOND
in stream_d.f and compile/link with second_wall.c
(4) stream_offset has been deprecated. It is still here
and usable, but stream_d.f is the "standard" version.
There are easy hooks in stream_d.f to change the
array offsets if you want to.
(5) The rules of the game are clarified as follows:
The reference case uses array sizes of 2,000,000 elements
and no additional offsets. I would like to see results
for this case.
But, you are free to use any array size and any offset
you want, provided that the arrays are each bigger than
the last-level of cache. The output will show me what
parameters you chose.
I expect that I will report just the best number, but
if there is a serious discrepancy between the reference
case and the "best" case, I reserve the right to report
both.
Of course, I also reserve the right to reject any results
that I do not trust....
--
John D. McCalpin, Ph.D.
john@mccalpin.com
没有合适的资源?快使用搜索试试~ 我知道了~
收起资源包目录
stream_5.10.zip (23个子文件)
stream_5.10
TO_DO.txt 685B
stream.c 19KB
LICENSE.txt 2KB
Development
stream_windows.c.crdownload 0B
stream.c.5.10 16KB
stream.txt 97B
HISTORY.txt 5KB
Makefile.txt 553B
READ.ME 4KB
mysecond.c 677B
stream.f 15KB
Versions
second_cpu.c 287B
stream_5-10_posix_memalign.c 20KB
stream_d.c 5KB
stream_tuned.f 15KB
stream_d.f 14KB
Experimental
Parallel_jobs.txt 639B
do_offsets 163B
stream_mpi.c 29KB
second_cpu.f 483B
stream_omp.c 11KB
stream_mpi.f 18KB
READ.ME 5KB
共 23 条
- 1
资源推荐
资源预览
资源评论
5星 · 资源好评率100%
174 浏览量
2021-02-24 上传
2020-12-03 上传
177 浏览量
5星 · 资源好评率100%
5星 · 资源好评率100%
2022-04-01 上传
5星 · 资源好评率100%
105 浏览量
168 浏览量
165 浏览量
5星 · 资源好评率100%
194 浏览量
175 浏览量
142 浏览量
5星 · 资源好评率100%
174 浏览量
2012-10-24 上传
5星 · 资源好评率100%
2021-06-26 上传
117 浏览量
5星 · 资源好评率100%
2013-03-27 上传
179 浏览量
2014-10-17 上传
2017-08-09 上传
5星 · 资源好评率100%
2021-12-07 上传
资源评论
信创极客
- 粉丝: 291
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功