NVPTX_GPU

Expand one NVPTX GPU enumerator from NVPTXTargetParser.def.

Synopsis

Declared in <llvm/TargetParser/NVPTXTargetParser.h>

#define NVPTX_GPU(NAME, KIND, VIRTUAL, SM_ID, MIN_VER, MAX_VER, SUFFIX)

Parameters

NameDescription
NAMECanonical processor name string, e.g. "sm_90".
KINDGPUKind enumerator suffix; the enumerator is GK_<KIND>.
VIRTUALVirtual (compute_) arch name string, e.g. "compute_90".
SM_IDNumeric compute-capability id (sm_90 -> 900).
MIN_VEREarliest supporting CudaVersion.
MAX_VERLatest supporting CudaVersion.
SUFFIXArch suffix class: NONE, ACCELERATED, or FAMILY.