[wwwdocs] gcc-13/changes.html: Add nvptx's --with-arch
Commit Message
The attached patch documents the new nvptx configure flag --with-arch=sm_...
Comments? OK?
Tobias
-----------------
Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955
Comments
Hi Tobias,
On Wed, 28 Sep 2022, Tobias Burnus wrote:
> The attached patch documents the new nvptx configure flag
> --with-arch=sm_...
>
> Comments? OK?
where it reads
+ <a href="https://gcc.gnu.org/install/specific.html#nvptx-x-none">
+ <code>--with-arch=</code></a> flag; if not specified, GCC defaults to
+ <code>sm_30</code>. GCC's target libraries are build both with
+ <code>sm_30</code> and the specified target architecture.
I suggest "configure option" instead of "flag" (if that's it, of course).
And I'd start the following as a full sentence "If not specified", or in
fact omit it, since "GCC defaults" already implies "If not specified"?
"are build" -> "are then built", and switch the last two sentences?
Okay with those changes (or telling me I'm wrong ;-).
Gerald
gcc-13/changes.html: Add nvptx's --with-arch
@@ -209,7 +209,18 @@ a work-in-progress.</p>
<!-- <h3 id="nios2">Nios II</h3> -->
-<!-- <h3 id="nvptx">NVPTX</h3> -->
+<h3 id="nvptx">NVPTX</h3>
+<ul>
+ <li>The default value for the <a
+ href="https://gcc.gnu.org/onlinedocs/gcc/Nvidia-PTX-Options.html"><code>
+ -march</code></a> option can be now changed when <a
+ href="https://gcc.gnu.org/install/">building GCC</a> using the
+ <a href="https://gcc.gnu.org/install/specific.html#nvptx-x-none">
+ <code>--with-arch=</code></a> flag; if not specified, GCC defaults to
+ <code>sm_30</code>. GCC's target libraries are build both with
+ <code>sm_30</code> and the specified target architecture.
+ </li>
+</ul>
<!-- <h3 id="hppa">PA-RISC</h3> -->