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

Name

Description

NAME

Canonical processor name string, e.g. "sm_90".

KIND

GPUKind enumerator suffix; the enumerator is GK_<KIND>.

VIRTUAL

Virtual (compute_) arch name string, e.g. "compute_90".

SM_ID

Numeric compute‐capability id (sm_90 ‐> 900).

MIN_VER

Earliest supporting CudaVersion.

MAX_VER

Latest supporting CudaVersion.

SUFFIX

Arch suffix class: NONE, ACCELERATED, or FAMILY.

Created with MrDocs