Next try – this time with both patches.
On 08.03.23 12:05, Tobias Burnus wrote:
Hi Andrew,
attached are two patches related to GCN, one for libgomp.texi
documenting an env var
and a release-notes update in www docs.
OK? Comments?
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
gcc-13/changes.html: Mention SIMD and updated newlib requirement
diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html
index a803f501..e7a342d3 100644
--- a/htdocs/gcc-13/changes.html
+++ b/htdocs/gcc-13/changes.html
@@ -374,6 +374,10 @@ a work-in-progress.</p>
<li>Support for the Instinct MI200 series devices (<a
href="https://gcc.gnu.org/onlinedocs/gcc/AMD-GCN-Options.html">
<code>gfx90a</code></a>) has been added.</li>
+ <li>SIMD vectorization support has been improved; this and stack-handling
+ changes <a
+ href="https://gcc.gnu.org/install/specific.html#amdgcn-x-amdhsa">require</a>
+ newlib 4.3.0 (or newer).</li>
</ul>
<!-- <h3 id="arc">ARC</h3> -->
libgomp.texi: Mention GCN_STACK_SIZE in Offload-Target Specifics
libgomp/ChangeLog:
* libgomp.texi (Offload-Target Specifics): Mention GCN_STACK_SIZE.
diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi
index 1b6358db4dc..5bcb84a1d6f 100644
--- a/libgomp/libgomp.texi
+++ b/libgomp/libgomp.texi
@@ -4461,6 +4461,8 @@ The implementation remark:
@item OpenMP code that has a requires directive with @code{unified_address} or
@code{unified_shared_memory} will remove any GCN device from the list of
available devices (``host fallback'').
+@item The available stack size can be changed using the @code{GCN_STACK_SIZE}
+ environment variable; the default is 32 kiB per thread.
@end itemize