Memory (Computer)

Memory Alignment

I still have a lot of trouble understanding this.

You will hear these different terminologies

  1. Byte Aligned
  2. Word Aligned
  3. Memory Aligned

There is also DRAM Bursting.


Understanding how memory is aligned will be fundamental to getting CUDA to run so much faster.

“When a warp executes an instruction that accesses global memory, it coalesces the memory accesses of the threads within the warp into one or more of these memory transactions depending on the size of the word accessed by each thread and the distribution of the memory addresses across the threads”

CUDA Memory Alignment

Also see CUDA Memory.