Skip to content
Snippets Groups Projects
Commit 536fd2ba authored by Dominik Zobel's avatar Dominik Zobel
Browse files

Add memory hierarchies exercise

parent 1c73ce3e
No related branches found
No related tags found
1 merge request!74Memory hierarchies lecture
Pipeline #72093 passed
......@@ -57,7 +57,7 @@ website:
- "exercises/parallelism/parallelism.qmd"
- "exercises/hardware/hardware.qmd"
- "exercises/file-and-data-systems.qmd"
# - "exercises/memory_hierarchies.qmd"
- "exercises/memory-hierarchies.qmd"
# - "exercises/student_talks.qmd"
format:
......
---
title: "Memory Hierarchies"
---
Review the memory mountain hands-on and look into the source code:
In `main()` the function `run()` is called for each combination of `size` and `stride`
which in turn calls `fcyc2()` and `fcyc2_full()`.
What happens there to ensure that only the desired cache effects for the test function `f` are measured?
Describe the mechanism and why it is necessary for accurate measurements in a short paragraph.
Refer to the code and what you learned in the lecture about it.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment