Skip to main content
grasp.study
About
Explore
Pricing
Log in
Try it for free
Back to course
👋
Welcome to a Grasp lesson
Create a free account
to keep studying and create your own study path.
High-Performance AI Computing
·
Module 10
Core AI Kernels: Fusion, Normalization, and Backpropagation
1
Fused Element-wise Kernels: Implementation and Performance Benefits
Implement a fused element-wise kernel (e.g., bias-add and ReLU activation) and explain the performance benefits of kernel fusion.
2
Layer Normalization: Forward Pass with Parallel Reduction
Implement the forward pass for a Layer Normalization kernel, including parallel reduction for mean and variance.
3
Gradients for Layer Normalization
Derive the gradients for Layer Normalization with respect to its input, scale, and bias.
4
CUDA Kernel for LayerNorm Backward Pass
Implement the backward pass for the Layer Normalization kernel in CUDA.
5
Softmax Numerical Stability
Explain the numerical instability of a naive softmax and implement the max-subtraction trick for stabilization.
6
Numerically Stable Softmax with Two-Pass Parallel Reduction
Implement a numerically stable softmax kernel using a two-pass parallel reduction algorithm.
7
FP16/BFloat16 Mixed-Precision: Bandwidth and Throughput Impact
Explain the principles of FP16/BFloat16 mixed-precision and its impact on memory bandwidth and compute throughput.
Previous module
GEMM Optimization: From Naive to High-Performance
Next module
Advanced Kernels with Tensor Cores