-1

Can anyone please help me ???

Write code that sums the values in an array. Measure the run time of the code as a function of the size of the array and calculate the bandwidth achieved. Increase the size from a single element array to 1GB in powers of two or similar. Graph the results. And explain what you see. You might want to try non-powers of 2 in regions of the graph were "interesting" things happen.

For extra credit, use a similar methodology to measure memory latency. (Hint: Stride 1 memory access won't work here.)

2
Contributors
5
Replies
6
Views
7 Years
Discussion Span
Last Post by Rashakil Fol
0

Thank you for your reply

if you can please help me in all of it ???

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.