From 570d4e4c68535ee4e5b2d82ad02a65fa1ec04112 Mon Sep 17 00:00:00 2001 From: Tobias Burnus Date: Thu, 19 Dec 2024 16:06:21 +0100 Subject: [PATCH] libgomp.texi: Update 'arch' context-selector description * libgomp.texi (OpenMP Context Selectors): Document that 'kind' also accepts 'cpu'/'any' on host and 'any'/'nohost' on 'nohost' devices. --- libgomp/libgomp.texi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi index 6b8000c696f..4e0ed993b2c 100644 --- a/libgomp/libgomp.texi +++ b/libgomp/libgomp.texi @@ -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.