Learn

CUDA Basics

Learn CUDA one mechanism at a time, from your first kernel to tiled matrix multiplication: get it right first.

T4

No stages are open yet.

Part 1 Getting It Right

Threads and Indexing

  • 1GuardsComing soon
  • 2BlocksComing soon
  • 3ReLUComing soon
  • 4Leaky ReLUComing soon
  • 51D ConvolutionComing soon

2D Grids

  • 62D MapComing soon
  • 72D BlocksComing soon
  • 8Matrix AdditionComing soon
  • 9Add Row BiasComing soon

Shared Memory and Sync

  • 10Block ReverseComing soon
  • 11PoolingComing soon
  • 121D Convolution with Shared MemoryComing soon

Reduce and Scan in a Block

  • 13Block SumComing soon
  • 14Block Prefix SumComing soon
  • 15Row SumComing soon
  • 16RMSNormComing soon

Across Blocks

  • 17Array MaxComing soon
  • 18Prefix Sum Across BlocksComing soon

Matrix Multiplication

  • 19Naive MatmulComing soon
  • 20Tiled MatmulComing soon
  • 21Non-Square MatmulComing soon