[#NVPTX_GPU]
= NVPTX&lowbar;GPU
:mrdocs:

Expand one NVPTX GPU enumerator from NVPTXTargetParser&period;def&period;

== Synopsis

Declared in `&lt;llvm&sol;TargetParser&sol;NVPTXTargetParser&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
#define NVPTX&lowbar;GPU(NAME, KIND, VIRTUAL, SM&lowbar;ID, MIN&lowbar;VER, MAX&lowbar;VER, SUFFIX)

----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *NAME*
| Canonical processor name string, e&period;g&period; &quot;sm&lowbar;90&quot;&period;
| *KIND*
| GPUKind enumerator suffix&semi; the enumerator is GK&lowbar;&lt;KIND&gt;&period;
| *VIRTUAL*
| Virtual (compute&lowbar;) arch name string, e&period;g&period; &quot;compute&lowbar;90&quot;&period;
| *SM&lowbar;ID*
| Numeric compute&hyphen;capability id (sm&lowbar;90 &hyphen;&gt; 900)&period;
| *MIN&lowbar;VER*
| Earliest supporting CudaVersion&period;
| *MAX&lowbar;VER*
| Latest supporting CudaVersion&period;
| *SUFFIX*
| Arch suffix class&colon; NONE, ACCELERATED, or FAMILY&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
