CS 610: Programming for Performance (Semester 2026-27-I)

Class hours: MF 8-8:50 AM Tu 9-9:50 AM in KD 101

Instructor Information

Name Email
Swarnendu Biswas swarnendu@cse.iitk.ac.in

TA Information

Name Email
Srinjoy Sarkar srinjoys23@cse.iitk.ac.in
Soham Rajesh Kelaskar sohamrk25@cse.iitk.ac.in
Varad Prabhakar Shinde vpshinde25@cse.iitk.ac.in
Abhinav Kumar abhinavk26@cse.iitk.ac.in

Course Description

To achieve good performance, one needs to write correct yet scalable parallel programs using programming language abstractions such as threads. In addition, the developer needs to be aware of and utilize many architecture-specific features, such as vectorization, to realize the full performance potential. This course will discuss programming language abstractions with architecture-aware development to learn to write scalable parallel programs. This is not a "programming tips and tricks" course.

We will have 3-5 assignments to use the concepts learned in class and appreciate the challenges in extracting performance.

Prerequisites
  • Exposure to the following courses (or equivalent) is desirable: CS220 (Computer Organization), and CS330 (Operating Systems).
  • Programming maturity with popular programming languages like C and C++.

Syllabus

The course will focus on a subset of the following topics.

We may add new topics, drop existing ones, or reorder topics depending on progress and class feedback. The course may also involve reading and critiquing related research papers.

Policies

Evaluation Scheme

The following is a tentative allocation and might change slightly depending on the strength of the class. Grading is relative.

Assignments 35%
Midsem 30%
Endsem 35%

Academic Integrity

Feedback

I am open to feedback about the course content and presentation. Feel free to provide suggestions for improvements.

Resources

We will NOT meet on July 31. Our first class will be on August 3.

Date Topic Resources Recommended Reading
First course handout FCH
03/08, 04/08 Compiler Challenges for Parallel Architectures Slides AK 1.1-1.6
04/08, 07/08 Cache Memory Slides HP APP B.1-B.4, 2.1--2.3
CSAPP 6.2-6.4

References

I have listed (NOT in any particular order) a few popular references.
[CSAPP] Computer Systems: A Programmer's Perspective, 3rd edition - R. Bryant and D. O'Hallaron
[HP] Computer Architecture: A Quantitative Approach, 6th edition - J. Hennessy and D. Patterson
[AK] Optimizing Compilers for Modern Architectures - R. Allen and K. Kennedy
[SMS] Shared-Memory Synchronization, 2nd edition - M. Scott and T. Brown.
[AP] Automatic Parallelization: An Overview of Fundamental Compiler Techniques - Samuel P. Midkiff
[PP] An Introduction to Parallel Programming - Peter S. Pacheco
[KH] Programming Massively Parallel Processors: A Hands-on Approach, 3rd edition - David B. Kirk and Wen-mei W. Hwu
[MCM] A Primer on Memory Consistency and Cache Coherence, 2nd edition - Vijay Nagarajan, Daniel J. Sorin, Mark D. Hill and David A. Wood
[MP] The Art of Multiprocessor Programming, 1st edition - Maurice Herlihy and Nir Shavit

We may read and discuss related materials and research papers, which we will announce in class.