CUDA Shared Memory Swizzling
Summary
The article explains how CUDA shared memory bank conflicts can degrade performance and introduces swizzling as a method to avoid these conflicts without padding. It provides the swizzling formula, discusses its properties, and showcases matrix transpose examples comparing bank conflicts, padding, and swizzling, along with performance observations and references.