microZEUS
The whole stack, hand-drawn.

◄ Wiki / Graphics

shared memory

Fast scratch memory that a group of GPU threads can all read and write to cooperate.

In a compute shader, threads are organized into workgroups, and shared memory is a small, fast region visible to every thread in one workgroup. They use it to exchange partial results and coordinate — far quicker than going through global memory — which is key for algorithms like reductions, prefix sums, and tiled matrix math. Access must be synchronized to avoid races.

See also

  • shaderA small program that runs on the GPU to compute part of how a scene is drawn.
  • shuffleA GPU operation that lets threads in a small group directly swap values without going through memory.
  • SSBOA large GPU buffer that shaders can both read from and write to freely.

Referenced by

shuffle · sparse · SSBO