]> git.ipfire.org Git - thirdparty/gcc.git/commit
omp-low.h (oacc_fn_attrib_kernels_p): Declare.
authorNathan Sidwell <nathan@acm.org>
Tue, 26 Jan 2016 14:32:30 +0000 (14:32 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Tue, 26 Jan 2016 14:32:30 +0000 (14:32 +0000)
commitf8393eb0f07d5a4d911550beb9d052e14d6f3847
treeef6837a596586f05759a87232a7af5562f07e08f
parentb0b35f86a24b8c404590993d7811fe546fadf1eb
omp-low.h (oacc_fn_attrib_kernels_p): Declare.

* omp-low.h (oacc_fn_attrib_kernels_p): Declare.
(set_oacc_fn_attrib): Add IS_KERNEL arg.
* omp-low.c (set_oacc_fn_attrib): Add IS_KERNEL arg.
(oacc_fn_attrib_kernels_p, oacc_fn_attrib_level): New.
(expand_omp_target): Pass is_kernel to set_oacc_fn_attrib.
(oacc_validate_dims): Add LEVEL arg, don't return level.
(new_oacc_loop_routine): Use oacc_fn_attrib_level, not
oacc_validate_dims.
(execute_oacc_device_lower): Adjust, add more dump output.
* tree-ssa-loop.c (gate_oacc_kernels): Use
oacc_fn_attrib_kernels_p.
* tree-parloops.c (create_parallel_loop): Adjust
set_oacc_fn_attrib call.

From-SVN: r232830
gcc/ChangeLog
gcc/omp-low.c
gcc/omp-low.h
gcc/testsuite/gcc.dg/ipa/inline-9.c [new file with mode: 0644]
gcc/tree-parloops.c
gcc/tree-ssa-loop.c