On 12/17/24 14:21, Tobias Burnus wrote:
Hi Sandra,thanks for the patch! One minor nit: Sandra Loosemore wrote:+To enable the processing of OpenACC directives @samp{#pragma omp}#pragma acc – not #pragma omp.
Sigh, I need to get new glasses! Fixed with the attached patch. -Sandra
From b34fbab529e64dbeb6db70263e35373c200f899a Mon Sep 17 00:00:00 2001 From: Sandra Loosemore <[email protected]> Date: Wed, 18 Dec 2024 03:51:54 +0000 Subject: [PATCH] Documentation: Fix paste-o in recent OpenMP/OpenACC patch gcc/ChangeLog * doc/extend.texi (OpenACC): Fix paste-o. --- gcc/doc/extend.texi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/doc/extend.texi b/gcc/doc/extend.texi index 54465ddc23a..f045159963e 100644 --- a/gcc/doc/extend.texi +++ b/gcc/doc/extend.texi @@ -29403,7 +29403,7 @@ GCC strives to be compatible with the @uref{https://www.openacc.org/, OpenACC Application Programming Interface v2.6}. -To enable the processing of OpenACC directives @samp{#pragma omp} +To enable the processing of OpenACC directives @samp{#pragma acc} in C and C++, GCC needs to be invoked with the @option{-fopenacc} option. This option also arranges for automatic linking of the OpenACC runtime library. -- 2.25.1
