diff mbox series

[wwwdocs] gcc-13/changes.html: Add nvptx's --with-arch

Message ID f071b915-d4ce-a7c2-beb1-3b8c634d8985@codesourcery.com
State New
Headers show
Series [wwwdocs] gcc-13/changes.html: Add nvptx's --with-arch | expand

Commit Message

Tobias Burnus Sept. 28, 2022, 7:39 a.m. UTC
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

Gerald Pfeifer Sept. 28, 2022, 11:03 a.m. UTC | #1
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
diff mbox series

Patch

gcc-13/changes.html: Add nvptx's --with-arch

diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html
index 390193ca..f113e443 100644
--- a/htdocs/gcc-13/changes.html
+++ b/htdocs/gcc-13/changes.html
@@ -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> -->