r/AskProgramming • u/SimplySomeDude • Aug 26 '26
How much does struct alignment really matter performance wise on modern GPUs?
Are things like std430 or std140 unnecessarily strict?
6
Upvotes
r/AskProgramming • u/SimplySomeDude • Aug 26 '26
Are things like std430 or std140 unnecessarily strict?
View all comments
Show parent comment
3
u/esaule Aug 27 '26
As always, it will depend on the precise application, on the access partern, spatial and temporal reuse distance.
But it will absolutelly matter.