2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
11 To activate the OpenACC extensions for C/C++ and Fortran, the compile-time
12 flag :option:`-fopenacc` must be specified. This enables the OpenACC directive
13 ``#pragma acc`` in C/C++ and ``!$acc`` directives in free form,
14 ``c$acc``, ``*$acc`` and ``!$acc`` directives in fixed form,
15 ``!$`` conditional compilation sentinels in free form and ``c$``,
16 ``*$`` and ``!$`` sentinels in fixed form, for Fortran. The flag also
17 arranges for automatic linking of the OpenACC runtime library
18 (:ref:`openacc-runtime-library-routines`).
20 See https://gcc.gnu.org/wiki/OpenACC for more information.
22 A complete description of all OpenACC directives accepted may be found in
23 the `OpenACC <https://www.openacc.org>`_ Application Programming
24 Interface manual, version 2.6.