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
064f5166
Commit
064f5166
authored
11 months ago
by
Georgiana Mania
Browse files
Options
Downloads
Patches
Plain Diff
move content from parallelism to hardware lecture
parent
0bd764cb
No related branches found
No related tags found
1 merge request
!72
Draft: Compute devices lecture
Pipeline
#68949
passed
11 months ago
Stage: test
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lectures/hardware/slides.qmd
+18
-0
18 additions, 0 deletions
lectures/hardware/slides.qmd
lectures/parallelism/slides.qmd
+4
-23
4 additions, 23 deletions
lectures/parallelism/slides.qmd
with
22 additions
and
23 deletions
lectures/hardware/slides.qmd
+
18
−
0
View file @
064f5166
...
...
@@ -52,3 +52,21 @@ It's **impossible** to look at the entire globe in full resolution.
* This slide is either important or has a special purpose.
* You can use it to ask the audience a question or to start a hands-on session.
## Leftovers from previous talk
Best practices for efficient scaling:
* Limit the number of shared resources in parallel regions (less sync)
* Limit the amount of communication between executors
* Use efficient domain decomposition to avoid load imbalance (be aware when using I/O)
## Leftovers from previous talk
Types of parallelism
* **Data-level parallelism** supported by hardware through
* instruction-level parallelism (e.g. pipelining)
* vector architectures and GPUs (e.g. SIMD)
* thread-level parallelism (what we've been discussing)
* request-level parallelism
* **Task-level parallelism** supported by hardware through
* thread-level parallelism
* request-level parallelism (e.g. MIMD)
This diff is collapsed.
Click to expand it.
lectures/parallelism/slides.qmd
+
4
−
23
View file @
064f5166
...
...
@@ -217,24 +217,9 @@ Wikipedia
## Types of parallelism
* **Data-level parallelism** supported by hardware through
* instruction-level parallelism (e.g. pipelining)
* vector architectures and GPUs (e.g. SIMD)
* thread-level parallelism (what we've been discussing)
* request-level parallelism
* **Task-level parallelism** supported by hardware through
* thread-level parallelism
* request-level parallelism (e.g. MIMD)
* Data-level parallelism - what we've been discussing
* Task-level parallelism - Example: Atmosphere ocean coupling
:::{.fragment}
:::{.info .smaller}
*More about hardware next week!*
:::
:::
:::{.notes}
task-level : (Example: Atmosphere ocean coupling)
:::
## Precondition for parallel execution
...
...
@@ -343,12 +328,8 @@ d = c - b; // S2
:::
## Best practices
::: {.incremental}
* Parallelisation should not change the results! Exceptions to be discussed next week!
* Limit the number of shared resources in parallel regions (less sync)
* Limit the amount of communication between executors
* Use efficient domain decomposition to avoid load imbalance (be aware when using I/O)
:::
# FIXME
* Homework:
...
...
@@ -357,7 +338,7 @@ d = c - b; // S2
* Have them discuss the concepts from the lecture using the metaphor of a kitchen workflow?
#
Documentation
#
Additional reading
* "Computer Architecture - A Quantitative Approach" - J. Hennessy and D. Patterson
* "Introduction to High Performance Computing for Scientists and Engineers" - G. Hager and G. Wellein
...
...
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