llvm::AMDGPU::GPUKind

GPU kinds supported by the AMDGPU target.

Synopsis

Declared in <llvm/TargetParser/AMDGPUTargetParser.h>

enum GPUKind : uint8_t;

Members

NameDescription
GK_NONE Not specified processor.

Non-Member Functions

NameDescription
getAddressableNumSGPRsReturns the number of addressable SGPRs for GPU kind AK.
getArchAttrAMDGCNReturns the legacy ArchFeatureKind bitfield for AMDGCN GPU kind AK.
getArchAttrR600Returns the R600FeatureKind bitfield for GPU kind AK.
getArchFamilyNameAMDGCNReturns the architecture family name for AMDGCN GPU kind AK.
getArchNameAMDGCNReturns the canonical AMDGCN architecture name for GPU kind AK.
getArchNameR600Returns the canonical R600 architecture name for GPU kind AK.
getBaseArchNameAMDGCNThe canonical GPU name for a variant name.
getFeatureBitsetReturns AK's feature bitset, or an empty bitset if unknown.
getGPUKindFromSubArchReturns the representative GPUKind for subarch SubArch.
getMaxHWAddressableLocalMemorySizeMaximum LDS in bytes a single work-group can address.
getMaxWavesPerEUMaximum number of waves per execution unit without any kind of limitation.
getSGPRAllocGranuleReturns the SGPR allocation granule for GPU kind AK.
getSubArchReturns the triple subarch for GPU kind AK.
getTotalNumSGPRsReturns the total number of SGPRs for GPU kind AK.
isPseudoTargetReturn true if AK is a pseudo target such as "generic" or "generic-hsa".
parseArchAMDGCNParses an AMDGCN GPU name CPU into a GPUKind.
parseArchR600Parses an R600 GPU name CPU into a GPUKind.