Skip to content

Commit 981c6e7

Browse files
author
Michael McLeod
committed
Update typo due to rearrangement of timeline
1 parent 5d0fa76 commit 981c6e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎08openmp/04_cache_performance.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ As always with the memory system, things will be system dependent, but on a typi
3030

3131
- This is extremely important as it means that even if the two cores never operate on the same values, if the values that they operate on are next to each other in memory and stored in the same cache line, then they will still invalidate one another's caches and cause lookups to have to be made.
3232

33-
As a very simple example, let's look at a possible manual implementation of the reduction code shown in last week's class. I'll do this example with no compiler optimisations to prevent the compiler optimising away any memory read/write operations so we have full control! As a reminder, the basic code looks like this:
33+
As a very simple example, let's look at a possible manual implementation of the reduction code shown in this week's class. I'll do this example with no compiler optimisations to prevent the compiler optimising away any memory read/write operations so we have full control! As a reminder, the basic code looks like this:
3434

3535
```cpp
3636
#include <iostream>

0 commit comments

Comments
 (0)