llvm::AMDGPU::TargetID

AMDGPU target identity: processor plus optional xnack/sramecc settings.

Synopsis

Declared in <llvm/TargetParser/AMDGPUTargetParser.h>

class TargetID;

Member Functions

NameDescription
TargetID [constructor]Constructors
~TargetID [destructor]Destroy this TargetID.
getCanonicalFeatureString Returns the canonical processor name and explicit feature modifiers.
getGPUKind Returns the GPU kind / processor for this TargetID.
getSramEccSetting Returns the current sramecc TargetIDSetting.
getTargetTripleString Returns the target triple string for this TargetID.
getXnackSetting Returns the current xnack TargetIDSetting.
isAMDHSA Returns true if this is an AMDHSA target.
isEquivalent Returns true if Other denotes the same target as *this.
isSramEccOnOrAny Returns true if the current sramecc setting is "On" or "Any".
isSramEccOnOrOff Returns true if the current sramecc setting is "On" or "Off".
isSramEccSupported Returns true if the current sramecc setting is not "Unsupported".
isXnackOnOrAny Returns true if the current xnack setting is "On" or "Any".
isXnackOnOrOff Returns true if the current xnack setting is "On" or "Off".
isXnackSupported Returns true if the current xnack setting is not "Unsupported".
print Prints this TargetID to OS.
printCanonicalTargetIDString Print the canonical processor name and explicit feature modifiers.
providesFor Returns true if a device image for *this can provide code for Other.
setSramEccSetting Sets sramecc setting to NewSramEccSetting.
setXnackSetting Sets xnack setting to NewXnackSetting.
toString Returns this TargetID as a string.
operator== True if this TargetID equals Other.
operator!= True if this TargetID is not equal to Other.

Static Member Functions

NameDescription
parse Parse and validate a TargetID for triple TT.
parseTargetIDString Parse and validate a TargetID from a full directive string.