* [wwwdocs][patch] gcc-13/changes.html: Add nvptx's --with-arch
@ 2022-09-28 7:39 Tobias Burnus
2022-09-28 11:03 ` Gerald Pfeifer
0 siblings, 1 reply; 2+ messages in thread
From: Tobias Burnus @ 2022-09-28 7:39 UTC (permalink / raw)
To: gcc-patches, Tom de Vries; +Cc: Gerald Pfeifer, Thomas Schwinge
[-- Attachment #1.1: Type: text/plain, Size: 379 bytes --]
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
[-- Attachment #2: nvptx-with-arch.diff --]
[-- Type: text/x-patch, Size: 956 bytes --]
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> -->
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [wwwdocs][patch] gcc-13/changes.html: Add nvptx's --with-arch
2022-09-28 7:39 [wwwdocs][patch] gcc-13/changes.html: Add nvptx's --with-arch Tobias Burnus
@ 2022-09-28 11:03 ` Gerald Pfeifer
0 siblings, 0 replies; 2+ messages in thread
From: Gerald Pfeifer @ 2022-09-28 11:03 UTC (permalink / raw)
To: Tobias Burnus; +Cc: gcc-patches, Tom de Vries, Thomas Schwinge
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-28 11:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-28 7:39 [wwwdocs][patch] gcc-13/changes.html: Add nvptx's --with-arch Tobias Burnus
2022-09-28 11:03 ` Gerald Pfeifer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).