[#llvm-AMDGPU-getMaxHWAddressableLocalMemorySize-0c] = xref:llvm.adoc[llvm]::xref:llvm/AMDGPU.adoc[AMDGPU]::getMaxHWAddressableLocalMemorySize :relfileprefix: ../../ :mrdocs: Maximum LDS in bytes a single work‐group can address. == Synopsis Declared in `<llvm/TargetParser/AMDGPUTargetParser.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- unsigned int getMaxHWAddressableLocalMemorySize(xref:llvm/AMDGPU/GPUKind.adoc[GPUKind] AK); ---- == Description This is a fixed hardware cap and does not depend on how many SIMDs a work‐group runs on. == Return Value Maximum addressable LDS size in bytes for `AK.` == Parameters [cols="1,4"] |=== | Name| Description | *AK* | GPU kind to query. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#