NVIDIA CUDA Tutorial 10: Blocking with Shared Memory @WhatsACreel
NVIDIA CUDA Tutorial 10: Blocking with Shared Memory  @WhatsACreel
Uploaded December 2013 | Updated September 2026, 2 weeks ago
In this tute we'll use a technique called blocking to finally fulfill Porky Water's tall order!

Blocking is a technique where blocks of data are copied from global memory to shared memory, threads work on the data in the much faster shared memory. This greatly reduces the amount of traffic on the global memory bus and allows threads to use the much faster shared memory for most of the calculations.

Blocking with shared memory gives us a great speed up here and easily fulfills Porky's boss's request of a 10x speed up. There's some small changes that could allow the code to run a little quicker but if the code had to run much faster a complete change in algorithm would be far more useful than tweaking this brute force one.
NVIDIA CUDA Tutorial 10: Blocking with Shared Memoryx64 Assembly Tutorial 55: MXCSR RegisterJava Tutorial for Beginners 2: Important Data TypesIEEE 754: Introduction to Floating Point FormatDirect2D Tutorial 1: Intro and WinMain EntryC++ Tutorial 8: Switch StatementsLearn Python Programming 4: Learn For LoopsExploring Cliques and Clique ProblemsC++ UnionsIEEE 754: 64 Bit Double Precision Floatsx64 Assembly Tutorial 63 B: Box Blur C++ CodingNVIDIA CUDA Tutorial 2: Basics and a First Kernel
Creel |

NVIDIA CUDA Tutorial 10: Blocking with Shared Memory

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER