What problem does it solve?
FlyDSL GEMM optimization provides a comprehensive guide to maximizing performance of GEMM kernels on AMD CDNA GPUs by detailing tiling strategies, memory layouts, and MFMA scheduling patterns.
Core Features & Use Cases
- Comprehensive tiling strategies, LDS ping-pong double buffering, XOR bank-conflict mitigation, A/B prefetch pipelines, two-stage software pipelining, hot_loop_scheduler MFMA scheduling, epilogue options (Direct Store vs CShuffle), TFLOPS and bandwidth analysis, ATT trace bottleneck diagnosis, and optimization recipes.
- Real-world scenario: configure tile sizes, enable 2-stage LDS, compare direct store vs CShuffle, profile with ATT traces, and iteratively optimize kernels.
Quick Start
Follow the guide to implement GEMM optimizations for an AMD CDNA GPU using FlyDSL, starting with selecting tile_m, tile_n, and tile_k and enabling 2-stage LDS where appropriate.