DIFF.BLOG
New Following Discover Jobs
More
Top Writers Suggest a blog Upvotes plugin
Report bug Contact About
Sign up
Topics
Follow your own topics →
Menu
New Following Discover Jobs Top Writers
More
Suggest a blog Upvotes plugin Report bug Contact About
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS

One Bit Off: Deriving the Optimal Swizzle for a 16×32 Transpose

217 · Niansong Zhang · June 10, 2026, 5:34 a.m.
Tutorial GPU XOR swizzle 16x32 transpose bank conflicts Algorithm Optimization
Summary
The blog post explores the issue of bank conflicts in a 16×32 transpose operation while highlighting the inadequacies of the textbook XOR swizzle technique. It presents an optimal solution that involves using a single bit shift to effectively address these conflicts.
Read full post on www.zzzdavid.tech →
MORE POSTS LIKE THIS
Clustered Codebook Quantization for 2D Gaussian-based Image Compression
Research Nvidia · Jul 27, 2026
Image Compression Gaussian models
Optimal parse with phminposuw
Alisa Sireneva · Jul 11, 2026
data-compression Algorithm Optimization
My Introduction To Computer Graphics
Blog Dshr · Jul 7, 2026
Personal Computer Graphics
What is Google's algorithm-optimising AlphaEvolve agent?
Thestack · Jul 10, 2026
AI DeepMind
Rotation revisited: Avoiding having to calculate the gcd when doing cycle decomposition
Raymond Chen · Jun 5, 2026
Old New Thing Code
Synthesizing turtle programs to redraw images with MCMC
Users Rust Lang · May 31, 2026
Rust MCMC
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub Continue with Google