Skip to content

Commit

Permalink
Add after-action report
Browse files Browse the repository at this point in the history
  • Loading branch information
h365chen committed Feb 9, 2024
1 parent 0fcee6a commit 043c351
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
13 changes: 8 additions & 5 deletions lectures/flipped/L13.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ Compare the runtimes
Talk about the **fast inverse square root** in Quoke III (very interesting!) and
**loop perforation** if time permits.

# After-action report, huanyi, 08Feb23

Went through all the n-body sample codes. However, it turns out the bin version
does not speed up much. Need to take a look sometime later.

# After-action report, plam, 10Feb23

Gave the example of Lab 2 and not requiring exact answers.
Expand All @@ -46,3 +41,11 @@ Loop perforation: talked about an example of summing a bunch of numbers.

I gave a very short introduction of the N-body problem. I'll cover the code in
the next class.

# After-action report, huanyi, 05Feb24

The performance needs further investigation. The bin version is slower than the
parallel one.

I talked about the fast inverse square root, although briefly. Better to refer
to the referenced post to explain it.
8 changes: 8 additions & 0 deletions lectures/flipped/L14.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,11 @@ inject "fence" to ensure other students see the same order as themselves see it.
I did a bit of reorg in the above notes. It's still not very flipped. But I kind
of did the whole thing, and did not talk about cache coherence. Did not check
the runtime between SeqCst and Relaxed.

# After-action report, huanyi, 05Feb24

I went through everything. It appears changing `SeqCst` to `Relaxed` had no
effect on RustExplorer, but it worked on my laptop. I also talked about memory
consistency model vs. cache coherence. I think the definition from the paper is
reasonable. There was an interesting question, why compiler reording is included
in the memory consistency topic?

0 comments on commit 043c351

Please sign in to comment.