diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2021-04-19 10:24:49 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2021-04-19 14:29:48 +0200 |
commit | 3395dfc4da8ad1fccd346c62dfc9bd44b2b48c62 (patch) | |
tree | 6c349d56e165da37e856c2bf9fe6b96d580e2b04 /gcc/doc | |
parent | 15cfa8ddaca3915fdb1dc1f2c61c89b5817b4e2c (diff) | |
download | gcc-3395dfc4da8ad1fccd346c62dfc9bd44b2b48c62.zip gcc-3395dfc4da8ad1fccd346c62dfc9bd44b2b48c62.tar.gz gcc-3395dfc4da8ad1fccd346c62dfc9bd44b2b48c62.tar.bz2 |
[OpenACC 'kernels'] '-fopenacc-kernels=[...]' -> '--param=openacc-kernels=[...]'
This configuration knob is temporary, and isn't really meant to be exposed to
users.
gcc/
* params.opt (-param=openacc-kernels=): Add.
* omp-oacc-kernels-decompose.cc
(pass_omp_oacc_kernels_decompose::gate): Use it.
* doc/invoke.texi (-fopenacc-kernels=@var{mode}): Move...
(--param): ... here, 'openacc-kernels'.
gcc/c-family/
* c.opt (fopenacc-kernels=): Remove.
gcc/fortran/
* lang.opt (fopenacc-kernels=): Remove.
gcc/testsuite/
* c-c++-common/goacc/if-clause-2.c: '-fopenacc-kernels=[...]' ->
'--param=openacc-kernels=[...]'.
* c-c++-common/goacc/kernels-decompose-1.c: Likewise.
* c-c++-common/goacc/kernels-decompose-2.c: Likewise.
* c-c++-common/goacc/kernels-decompose-ice-1.c: Likewise.
* c-c++-common/goacc/kernels-decompose-ice-2.c: Likewise.
* gfortran.dg/goacc/kernels-decompose-1.f95: Likewise.
* gfortran.dg/goacc/kernels-decompose-2.f95: Likewise.
* gfortran.dg/goacc/kernels-tree.f95: Likewise.
libgomp/
* testsuite/libgomp.oacc-c-c++-common/declare-vla-kernels-decompose-ice-1.c:
'-fopenacc-kernels=[...]' -> '--param=openacc-kernels=[...]'.
* testsuite/libgomp.oacc-c-c++-common/declare-vla-kernels-decompose.c:
Likewise.
* testsuite/libgomp.oacc-c-c++-common/kernels-decompose-1.c:
Likewise.
* testsuite/libgomp.oacc-fortran/pr94358-1.f90: Likewise.
Diffstat (limited to 'gcc/doc')
-rw-r--r-- | gcc/doc/invoke.texi | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 096cebc..8b70fdf 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -202,7 +202,7 @@ in the following sections. -aux-info @var{filename} -fallow-parameterless-variadic-functions @gol -fno-asm -fno-builtin -fno-builtin-@var{function} -fgimple@gol -fhosted -ffreestanding @gol --fopenacc -fopenacc-dim=@var{geom} -fopenacc-kernels=@var{mode} @gol +-fopenacc -fopenacc-dim=@var{geom} @gol -fopenmp -fopenmp-simd @gol -fms-extensions -fplan9-extensions -fsso-struct=@var{endianness} @gol -fallow-single-precision -fcond-mismatch -flax-vector-conversions @gol @@ -2619,18 +2619,6 @@ not explicitly specify. The @var{geom} value is a triple of ':'-separated sizes, in order 'gang', 'worker' and, 'vector'. A size can be omitted, to use a target-specific default value. -@item -fopenacc-kernels=@var{mode} -@opindex fopenacc-kernels -@cindex OpenACC accelerator programming -Specify mode of OpenACC `kernels' constructs handling. -With @option{-fopenacc-kernels=decompose}, OpenACC `kernels' -constructs are decomposed into parts, a sequence of compute -constructs, each then handled individually. -This is work in progress. -With @option{-fopenacc-kernels=parloops}, OpenACC `kernels' constructs -are handled by the @samp{parloops} pass, en bloc. -This is the current default. - @item -fopenmp @opindex fopenmp @cindex OpenMP parallel @@ -14376,6 +14364,16 @@ The parameter is used only in GIMPLE FE. The maximum number of 'after supernode' exploded nodes within the analyzer per supernode, before terminating analysis. +@item openacc-kernels +Specify mode of OpenACC `kernels' constructs handling. +With @option{--param=openacc-kernels=decompose}, OpenACC `kernels' +constructs are decomposed into parts, a sequence of compute +constructs, each then handled individually. +This is work in progress. +With @option{--param=openacc-kernels=parloops}, OpenACC `kernels' +constructs are handled by the @samp{parloops} pass, en bloc. +This is the current default. + @end table The following choices of @var{name} are available on AArch64 targets: |