diff options
| author | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
| commit | 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch) | |
| tree | f1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/gcc~13/amd-gcn-options.html | |
new repository
Diffstat (limited to 'devdocs/gcc~13/amd-gcn-options.html')
| -rw-r--r-- | devdocs/gcc~13/amd-gcn-options.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/devdocs/gcc~13/amd-gcn-options.html b/devdocs/gcc~13/amd-gcn-options.html new file mode 100644 index 00000000..852851e0 --- /dev/null +++ b/devdocs/gcc~13/amd-gcn-options.html @@ -0,0 +1,23 @@ +<div class="subsection-level-extent" id="AMD-GCN-Options"> <div class="nav-panel"> <p> Next: <a href="arc-options" accesskey="n" rel="next">ARC Options</a>, Previous: <a href="adapteva-epiphany-options" accesskey="p" rel="prev">Adapteva Epiphany Options</a>, Up: <a href="submodel-options" accesskey="u" rel="up">Machine-Dependent Options</a> [<a href="index#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="indices" title="Index" rel="index">Index</a>]</p> </div> <h1 class="subsection" id="AMD-GCN-Options-1"><span>3.19.3 AMD GCN Options<a class="copiable-link" href="#AMD-GCN-Options-1"> ¶</a></span></h1> <p>These options are defined specifically for the AMD GCN port. </p> <dl class="table"> <dt> + <span><code class="code">-march=<var class="var">gpu</var></code><a class="copiable-link" href="#index-march-1"> ¶</a></span> +</dt> <dt><code class="code">-mtune=<var class="var">gpu</var></code></dt> <dd> +<p>Set architecture type or tuning for <var class="var">gpu</var>. Supported values for <var class="var">gpu</var> are </p> <dl class="table"> <dt>‘<samp class="samp">fiji</samp>’</dt> <dd> +<p>Compile for GCN3 Fiji devices (gfx803). </p> </dd> <dt>‘<samp class="samp">gfx900</samp>’</dt> <dd> +<p>Compile for GCN5 Vega 10 devices (gfx900). </p> </dd> <dt>‘<samp class="samp">gfx906</samp>’</dt> <dd> +<p>Compile for GCN5 Vega 20 devices (gfx906). </p> </dd> <dt>‘<samp class="samp">gfx908</samp>’</dt> <dd> +<p>Compile for CDNA1 Instinct MI100 series devices (gfx908). </p> </dd> <dt>‘<samp class="samp">gfx90a</samp>’</dt> <dd> +<p>Compile for CDNA2 Instinct MI200 series devices (gfx90a). </p> </dd> </dl> </dd> <dt> +<span><code class="code">-msram-ecc=on</code><a class="copiable-link" href="#index-msram-ecc"> ¶</a></span> +</dt> <dt><code class="code">-msram-ecc=off</code></dt> <dt><code class="code">-msram-ecc=any</code></dt> <dd> +<p>Compile binaries suitable for devices with the SRAM-ECC feature enabled, disabled, or either mode. This feature can be enabled per-process on some devices. The compiled code must match the device mode. The default is ‘<samp class="samp">any</samp>’, for devices that support it. </p> </dd> <dt> +<span><code class="code">-mstack-size=<var class="var">bytes</var></code><a class="copiable-link" href="#index-mstack-size"> ¶</a></span> +</dt> <dd> +<p>Specify how many <var class="var">bytes</var> of stack space will be requested for each GPU thread (wave-front). Beware that there may be many threads and limited memory available. The size of the stack allocation may also have an impact on run-time performance. The default is 32KB when using OpenACC or OpenMP, and 1MB otherwise. </p> </dd> <dt> +<span><code class="code">-mxnack</code><a class="copiable-link" href="#index-mxnack"> ¶</a></span> +</dt> <dd> +<p>Compile binaries suitable for devices with the XNACK feature enabled. Some devices always require XNACK and some allow the user to configure XNACK. The compiled code must match the device mode. The default is ‘<samp class="samp">-mno-xnack</samp>’. At present this option is a placeholder for support that is not yet implemented. </p> </dd> </dl> </div> <div class="nav-panel"> <p> Next: <a href="arc-options">ARC Options</a>, Previous: <a href="adapteva-epiphany-options">Adapteva Epiphany Options</a>, Up: <a href="submodel-options">Machine-Dependent Options</a> [<a href="index#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="indices" title="Index" rel="index">Index</a>]</p> </div><div class="_attribution"> + <p class="_attribution-p"> + © Free Software Foundation<br>Licensed under the GNU Free Documentation License, Version 1.3.<br> + <a href="https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/AMD-GCN-Options.html" class="_attribution-link">https://gcc.gnu.org/onlinedocs/gcc-13.1.0/gcc/AMD-GCN-Options.html</a> + </p> +</div> |
