diff options
| author | James Slocum <j.m.slocum@gmail.com> | 2013-10-03 21:16:39 -0400 |
|---|---|---|
| committer | James Slocum <j.m.slocum@gmail.com> | 2013-10-03 21:16:39 -0400 |
| commit | bf194646e7a4bd348fd6033b183a1fd78a0aaef1 (patch) | |
| tree | fe51dfa05dcfc91f56577eb08a85785d9a931466 /benchmark-scripts | |
| parent | 93a74f64ce6e30e940ebbf456bf35679bca8d668 (diff) | |
Fixed 2 bugs.
Fixed a segfault, and read error.
1) the for(t=0; t<array_size; t+=block_size) loop could write past the end of the buffer and segfault
2) The 'a' buffer was not being advanced, causing the same memory to be read over and over, this caused heavy cache hits and unrealistically high results.
Diffstat (limited to 'benchmark-scripts')
0 files changed, 0 insertions, 0 deletions
