Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lecture materials
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
generic software skills
lecture materials
Commits
536fd2ba
Commit
536fd2ba
authored
9 months ago
by
Dominik Zobel
Browse files
Options
Downloads
Patches
Plain Diff
Add memory hierarchies exercise
parent
1c73ce3e
No related branches found
No related tags found
1 merge request
!74
Memory hierarchies lecture
Pipeline
#72093
passed
9 months ago
Stage: test
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
_quarto.yml
+1
-1
1 addition, 1 deletion
_quarto.yml
exercises/memory-hierarchies.qmd
+11
-0
11 additions, 0 deletions
exercises/memory-hierarchies.qmd
with
12 additions
and
1 deletion
_quarto.yml
+
1
−
1
View file @
536fd2ba
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
exercises/memory-hierarchies.qmd
0 → 100644
+
11
−
0
View file @
536fd2ba
---
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.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment