[llvm] [AMDGPU] Move EU and Wave Queries into TargetParser (PR #215681)
Chinmay Deshpande via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 21 20:32:55 PDT 2026
================
@@ -194,6 +194,20 @@ LLVM_ABI unsigned getAddressableNumSGPRs(Triple::SubArchType SubArch);
LLVM_ABI unsigned getSGPRAllocGranule(GPUKind AK);
LLVM_ABI unsigned getSGPRAllocGranule(Triple::SubArchType SubArch);
+/// \returns Number of SIMDs a work-group's waves run on for the target and
+/// full-SIMD mode setting.
+LLVM_ABI unsigned getWorkGroupSIMDs(GPUKind AK, bool FullSIMDMode);
----------------
chinmaydd wrote:
Do you mean `getNumSIMDsPerCU` ? I thought we wanted to walk away from the `CU` terminology.
Or something like `getNumWorkgroupSIMD` ?
https://github.com/llvm/llvm-project/pull/215681
More information about the llvm-commits
mailing list