From 2e3dd14dd287ca94b72c36ed28a1ae30887f77ce Mon Sep 17 00:00:00 2001
From: Tobias Burnus <tobias@codesourcery.com>
Date: Wed, 8 Mar 2023 14:55:49 +0100
Subject: [PATCH] libgomp.texi: Mention GCN_STACK_SIZE in Offload-Target
 Specifics

libgomp/ChangeLog:

	* libgomp.texi (Offload-Target Specifics): Mention GCN_STACK_SIZE.
---
 libgomp/libgomp.texi | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi
index 1b6358db4dc5..5bcb84a1d6f1 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
 
 
-- 
GitLab