Learn Before
Memory Banks and Data Alignment
RAM architecture involves multiple independent memory banks, meaning that read operations can be parallelized. While this parallelization can increase the effective number of random reads by up to times—provided they are evenly distributed across the memory—burst reads simultaneously benefit from the same x speedup, maintaining the performance advantage of sequential access. Furthermore, because memory is naturally aligned to -bit boundaries, computational data structures should ideally be aligned to these same boundaries to maximize transfer efficiency. In practice, modern compilers automatically handle this data structure alignment when configured with the appropriate compilation flags.
0
1
Tags
D2L
Dive into Deep Learning @ D2L