llvm::AMDGPU::getBaseArchNameAMDGCN

The canonical GPU name for a variant name.

Synopsis

Declared in <llvm/TargetParser/AMDGPUTargetParser.h>

StringRef
getBaseArchNameAMDGCN(GPUKind AK);

Return Value

Represent a constant reference to a string, i.e. a character array and a length, which need not be null terminated.

Parameters

NameDescription
AKGPU kinds supported by the AMDGPU target.