Skip to content
DistML Course
Course contents
On this page

Part 4 · Kernel Fusion · Chapter 16

Two-Batch Overlapping

Introduction

Two-batch overlapping (TBO) pairs communication for one batch with computation for another. This chapter will explain how to split and schedule the work, preserve dependencies, and determine whether the overlap improves overall performance.

We will cover:

  • Batch partitioning: Dividing work into two batches for overlapping execution.
  • Execution schedule: Interleaving communication and computation across the two batches.
  • Dependencies and synchronization: Making sure each operation sees the data it needs.
  • Resource contention and tuning: Balancing overlapping work when it shares GPU resources.
  • Performance measurement: Comparing execution time with and without overlap.

Stay tuned for the full chapter!