CS378H Concurrency: Honors

Date Topic Zoom Link Assignments Reading/Slides/Videos Suggested Readings
Tue 01/19 Course Intro, Concurrency and Correctness
[lecture]

slides
lecture video

Thu 01/21 Processes, Threads, Fibers
[lecture]

Chapter 1
slides
lecture video

Understanding the Linux Kernel (3rd Edition) Chapter 9, Process Address Space (skim)

Tue 01/26 PThreads, Blocking, Spinning, Conditions
[lecture]

Chapter 6 (pp. 143-173)
slides
lecture video

Experiences with Processes and Monitors in Mesa (Lampson and Redell, Communications of the ACM 23, 2, 1980)
The "Double-Checked Locking is Broken" Declaration (Bacon, Bloch, Bogda, Click, Haahr, Lea, May, Maessen, Mitchell, Nilsen, Pugh, Sirer, 2004)

Thu 01/28 Barriers, Events
[lecture]

Chapter 6 (pp. 173-187) slides
lecture video

Synchronization Implementation Details

Tue 02/02 Parallel Performance
[lecture]

Lab 1: pthreads prefix sum

Chapter 3, Chapter 4 (pp. 88-100) slides
lecture video

Thu 02/04 Futures, Async
[lecture]

Futures and Promises dist-prog-book chapter 2 slides
lecture video

Tue 02/09 Task Queues, Thread Pools
[lecture]

Windows APC Windows APC
Java Thread Pools Thread Pools
Events slides
Go slides
lecture video

Thu 02/11 Concurrency-Aware Languages--Cilk, Go, Julia, Chapel
[lecture]

1) Go Book Chapter
Go slides
lecture video

Implementation of Cilk-5 Multithreaded Language

Tue 02/16 Winter storm

Thu 02/18 Winter storm

Tue 02/23 Winter storm

Thu 02/25 Transactions and Transactional Memory
[lecture]

Lab 2 Go due

Ordering concurrent events and transactions in Principles of Transaction Processing  book
Chapter 10 (pp 291-295)
The Art of Multiprocessor Programming 3-3.6  book-notes
slides
lecture video

Transaction Processing: Concepts and Techniques (Jim Gray and Andreas Reuter 1993) 1.1 - 1.2.5
4.2, 4.7 and 4.7.1, 4.9 and 4.9.1
7.1-7.6
The Transaction Concept (Gray, 1981)
Is Transactional Programming Actually Easier?

Tue 03/02 Concurrency-Aware Languages--OpenMP, Orc
[lecture]

1) OpenMP Book (pp. 15-40)
TM slides
Parallel Architectures slides
lecture video

The Orc Programming Language (pp. 1-25)

Thu 03/04 OpenMP, SIMD, Parallel Architectures
[lecture]

1) CUDA Progamming Model (pp. 23-58)
slides
lecture video

SIMD Architectures

Tue 03/09 SIMD, Parallel Architectures
[lecture]

1) CUDA Execution Model (pp. 67-100)
slides
lecture video

Thu 03/11 Exam
[lecture]

Exam in class.

quiz compilation

Tue 03/16 Spring break

Thu 03/18 Spring break

Tue 03/23 GPUs: scans, reductions
[lecture]

1) Parallel Prefix Sum (Scan) with CUDA
slides 1

slides 2
lecture video

Dandelion: a Compiler and Runtime for Heterogeneous Systems

Thu 03/25 GPUs continued
[lecture]


slides
lecture video

Tue 03/30 Shared Memory Safety
Rust
[lecture]

Lab 3 GPU-kmeans due

slides
lecture video

Thu 04/01 Concurrency and Distribution--MPI
[lecture]

Chapter 7 (pp. 202-229)
slides
lecture video

MPI: A Message-Passing Interface Standard

Tue 04/06 Concurrency at Scale--Map-Reduce
[lecture]

1) Map Reduce

2) Map Reduce is a Step Backwards

Dataflow slides
lecture video

Hadoop Tutorial

Thu 04/08 Concurrency at Scale--Dryad, Spark, Percolator
[lecture]

1) Spark
Dataflow slides
lecture video

DryadLINQ
Naiad

Tue 04/13 Concurrency Distribution and Consistency: NoSQL
[lecture]

Rust Lab

1) NoSQL Database Systems: A Survey and Decision Guidance 
slides
lecture video

Yesquel: scalable SQL storage for Web applications

Thu 04/15 Concurrent Datastructures, CRDTs
[lecture]

Project Plan DUE

CAP, Consistency, and CRDTs
dist-prog-book chapter 6

Tue 04/20 FPGAs: Guest Lecturer Eric Schkufza
[lecture]

 Parameterized Modules
 The art of writing Test Benches
 Cascade ASPLOS 2019 Paper
 Eric's lecture
 FPGAs for Software Programmers pp.1-21
 Verilog In One Day parts I-IV
 My first program in Verilog

 Sharing, Protection, and Compatibility for Reconfigurable Fabric with AMORPHOS
 Eric's Demo Source demo_1.v
 Eric's Demo Source demo_2.v
 Eric's Demo Source demo_3a.v
 Eric's Demo Source demo_3b.v
 Eric's Demo Source demo_4.v
 Eric's Demo Source demo_5.v
 Eric's Demo Source demo_6.v
 Chisel: Constructing Hardware in a Scala Embeedded Language
 LINQits: Big Data on Little Clients

Thu 04/22 Lock Freedom
[lecture]

CAP, Consistency, and CRDTs
dist-prog-book chapter 6

Tue 04/27 Race Detection
[lecture]

Optional Lab 5: MPI+Barnes-hut

RaceTrack

Thu 04/29 Review
[lecture]

Optional Lab: FPGAs with Cascade

Tue 05/04 Exam 2
[lecture]

Exam

quiz compilation

Thu 05/06 Project Presentations

Project DUE


Last updated: 2021-04-13 13:33:43 -0500 [validate xhtml]