[llvm] [AMDGPU] update LDS block size for gfx1250 (PR #167614)

Stanislav Mekhanoshin via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 17 11:43:09 PST 2025


rampitec wrote:

> > Printing strings is cheap, this shall show a diff in the KD dump
> > Are we supposed not to see any diff in KD dump/printing when we just change the LDS block size  (for amdhsa)?
> > In the docs, GRANULATED_LDS_SIZE "must be 0", and CP is responsible to compute and set it when the dynamically allocated LDS is available?
> > Is my understanding correct?

Ough, yeah. That is very confusing. So GRANULATED_LDS_SIZE must be 0. For HSA static LDS size is taken from group_segment_fixed_size metadata, that is what objdump shows. But then it is in full bytes, just aligned up, so it does not change in the dump.

https://github.com/llvm/llvm-project/pull/167614


More information about the llvm-commits mailing list