diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2015-10-28 18:35:31 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2015-10-28 18:35:31 +0000 |
commit | a6392fdc0b4210929c40be82e93184a20dba2766 (patch) | |
tree | 33cce6b68c63275657fb5e4bef8e763bdd98d644 | |
parent | d2d47a28d87986ac23c8ad451944d9bbdccae356 (diff) | |
download | gcc-a6392fdc0b4210929c40be82e93184a20dba2766.zip gcc-a6392fdc0b4210929c40be82e93184a20dba2766.tar.gz gcc-a6392fdc0b4210929c40be82e93184a20dba2766.tar.bz2 |
omp-low.c (MASK_GANG, [...]): Delete.
* omp-low.c (MASK_GANG, MASK_WORKER, MASK_VECTOR): Delete.
(extract_omp_for_data): Remove OpenACC special handling of
chunking.
From-SVN: r229499
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/omp-low.c | 15 |
2 files changed, 4 insertions, 15 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 707ae2d..bc863ce 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,9 @@ 2015-10-28 Nathan Sidwell <nathan@codesourcery.com> + * omp-low.c (MASK_GANG, MASK_WORKER, MASK_VECTOR): Delete. + (extract_omp_for_data): Remove OpenACC special handling of + chunking. + * config/nvptx/nvptx.c (nvptx_print_operand): Remove 'd' case. (struct parallel): Update comment. (nvptx_reorg): Likewise. diff --git a/gcc/omp-low.c b/gcc/omp-low.c index c441166..6fe71c7 100644 --- a/gcc/omp-low.c +++ b/gcc/omp-low.c @@ -137,12 +137,6 @@ struct omp_region gomp_ordered *ord_stmt; }; -/* Levels of parallelism as defined by OpenACC. Increasing numbers - correspond to deeper loop nesting levels. */ -#define MASK_GANG 1 -#define MASK_WORKER 2 -#define MASK_VECTOR 4 - /* Context structure. Used to store information about each parallel directive in the code. */ @@ -840,15 +834,6 @@ extract_omp_for_data (gomp_for *for_stmt, struct omp_for_data *fd, } else if (loops) loops[0] = fd->loop; - - /* For OpenACC loops, force a chunk size of one, as this avoids the default - scheduling where several subsequent iterations are being executed by the - same thread. */ - if (gimple_omp_for_kind (for_stmt) == GF_OMP_FOR_KIND_OACC_LOOP) - { - gcc_assert (fd->chunk_size == NULL_TREE); - fd->chunk_size = build_int_cst (TREE_TYPE (fd->loop.v), 1); - } } |