llvm::AMDGPU::GPUKind

GPU kinds supported by the AMDGPU target.

Synopsis

Declared in <llvm/TargetParser/AMDGPUTargetParser.h>

enum GPUKind : uint8_t;

Members

Name
GK_NONE

Non-Member Functions

NameDescription
getBaseArchNameAMDGCNThe canonical GPU name for a variant name.
getFeatureBitsetReturns AK's feature bitset, or an empty bitset if unknown.
getMaxHWAddressableLocalMemorySize
getMaxWavesPerEU
isPseudoTargetReturn true if AK is a pseudo target (e.g. "generic"/"generic-hsa"): a recognized AMDGCN GPU that represents no concrete hardware and has no subarch of its own. Such targets are resolved by the backend as a default device but are not valid as an explicit -mcpu.