gcc/ * tree-parloops.c (create_parallel_loop, gen_parallel_loop) (parallelize_loops): In OpenACC kernels mode, set n_threads to zero. (pass_parallelize_loops::gate): In OpenACC kernels mode, gate on flag_openacc. * tree-ssa-loop.c (gate_oacc_kernels): Likewise. gcc/testsuite/ * c-c++-common/goacc/kernels-counter-vars-function-scope.c: Adjust to -ftree-parallelize-loops/-fopenacc changes. * c-c++-common/goacc/kernels-double-reduction-n.c: Likewise. * c-c++-common/goacc/kernels-double-reduction.c: Likewise. * c-c++-common/goacc/kernels-loop-2.c: Likewise. * c-c++-common/goacc/kernels-loop-3.c: Likewise. * c-c++-common/goacc/kernels-loop-g.c: Likewise. * c-c++-common/goacc/kernels-loop-mod-not-zero.c: Likewise. * c-c++-common/goacc/kernels-loop-n.c: Likewise. * c-c++-common/goacc/kernels-loop-nest.c: Likewise. * c-c++-common/goacc/kernels-loop.c: Likewise. * c-c++-common/goacc/kernels-one-counter-var.c: Likewise. * c-c++-common/goacc/kernels-reduction.c: Likewise. * gfortran.dg/goacc/kernels-loop-inner.f95: Likewise. * gfortran.dg/goacc/kernels-loops-adjacent.f95: Likewise. libgomp/ * oacc-parallel.c (GOACC_parallel_keyed): Initialize dims. * plugin/plugin-nvptx.c (nvptx_exec): Provide default values for dims. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-2.c: Adjust to -ftree-parallelize-loops/-fopenacc changes. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-3.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-2.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-3.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-4.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-5.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq-6.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-and-seq.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-collapse.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-g.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-mod-not-zero.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-n.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-loop-nest.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-loop.c: Likewise. * testsuite/libgomp.oacc-c-c++-common/kernels-reduction.c: Likewise. From-SVN: r233634
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| config | Loading commit data... | |
| plugin | Loading commit data... | |
| testsuite | Loading commit data... | |
| ChangeLog | Loading commit data... | |
| ChangeLog.graphite | Loading commit data... | |
| Makefile.am | Loading commit data... | |
| Makefile.in | Loading commit data... | |
| acinclude.m4 | Loading commit data... | |
| aclocal.m4 | Loading commit data... | |
| alloc.c | Loading commit data... | |
| barrier.c | Loading commit data... | |
| config.h.in | Loading commit data... | |
| configure | Loading commit data... | |
| configure.ac | Loading commit data... | |
| configure.tgt | Loading commit data... | |
| critical.c | Loading commit data... | |
| env.c | Loading commit data... | |
| error.c | Loading commit data... | |
| fortran.c | Loading commit data... | |
| hashtab.h | Loading commit data... | |
| iter.c | Loading commit data... | |
| iter_ull.c | Loading commit data... | |
| libgomp-plugin.c | Loading commit data... | |
| libgomp-plugin.h | Loading commit data... | |
| libgomp.h | Loading commit data... | |
| libgomp.map | Loading commit data... | |
| libgomp.spec.in | Loading commit data... | |
| libgomp.texi | Loading commit data... | |
| libgomp_f.h.in | Loading commit data... | |
| libgomp_g.h | Loading commit data... | |
| loop.c | Loading commit data... | |
| loop_ull.c | Loading commit data... | |
| oacc-async.c | Loading commit data... | |
| oacc-cuda.c | Loading commit data... | |
| oacc-host.c | Loading commit data... | |
| oacc-init.c | Loading commit data... | |
| oacc-int.h | Loading commit data... | |
| oacc-mem.c | Loading commit data... | |
| oacc-parallel.c | Loading commit data... | |
| oacc-plugin.c | Loading commit data... | |
| oacc-plugin.h | Loading commit data... | |
| omp.h.in | Loading commit data... | |
| omp_lib.f90.in | Loading commit data... | |
| omp_lib.h.in | Loading commit data... | |
| openacc.f90 | Loading commit data... | |
| openacc.h | Loading commit data... | |
| openacc_lib.h | Loading commit data... | |
| ordered.c | Loading commit data... | |
| parallel.c | Loading commit data... | |
| priority_queue.c | Loading commit data... | |
| priority_queue.h | Loading commit data... | |
| sections.c | Loading commit data... | |
| single.c | Loading commit data... | |
| splay-tree.c | Loading commit data... | |
| splay-tree.h | Loading commit data... | |
| target.c | Loading commit data... | |
| task.c | Loading commit data... | |
| taskloop.c | Loading commit data... | |
| team.c | Loading commit data... | |
| work.c | Loading commit data... |