]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgomp.texi: Update 'arch' context-selector description
authorTobias Burnus <tburnus@baylibre.com>
Thu, 19 Dec 2024 15:06:21 +0000 (16:06 +0100)
committerTobias Burnus <tburnus@baylibre.com>
Thu, 19 Dec 2024 15:06:21 +0000 (16:06 +0100)
* libgomp.texi (OpenMP Context Selectors): Document that 'kind' also
accepts 'cpu'/'any' on host and 'any'/'nohost' on 'nohost' devices.

libgomp/libgomp.texi

index 6b8000c696f60d733aab0671ac4506adfc6723b9..4e0ed993b2cac1c40bf94a522d2566935b704adf 100644 (file)
@@ -6687,9 +6687,10 @@ smaller number.  On non-host devices, the value of the
 @c has to be implemented; cf. also PR target/105640.
 @c For offload devices, add *additionally* gcc/config/*/t-omp-device.
 
-For the host compiler, @code{kind} always matches @code{host}; for the
-offloading architectures AMD GCN and Nvidia PTX, @code{kind} always matches
-@code{gpu}.  For the x86 family of computers, AMD GCN and Nvidia PTX
+For the host compiler, @code{kind} always matches @code{host}, @code{cpu}
+and @code{any}; for the offloading architectures AMD GCN and Nvidia PTX,
+@code{kind} always matches @code{nohost}, @code{gpu} and @code{any}.
+For the x86 family of computers, AMD GCN and Nvidia PTX
 the following traits are supported in addition; while OpenMP is supported
 on more architectures, GCC currently does not match any @code{arch} or
 @code{isa} traits for those.