diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2021-11-26 13:11:16 +0100 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2021-11-30 12:59:14 +0100 |
commit | 365cd5f9ba812c389b404a53d99ab5dded5097f4 (patch) | |
tree | d8f1575a59ad6b41b6ec86307464f3b45493efd9 /gcc/objc | |
parent | 77d24d43644909852998043335b5a0e09d1e8f02 (diff) | |
download | gcc-365cd5f9ba812c389b404a53d99ab5dded5097f4.zip gcc-365cd5f9ba812c389b404a53d99ab5dded5097f4.tar.gz gcc-365cd5f9ba812c389b404a53d99ab5dded5097f4.tar.bz2 |
[OpenACC] Remove erroneous "Orphan reductions cannot have gang partitioning" handling
That is:
-/* Ensure that the middle end does not assign gang level parallelism
- to orphan loop containing reductions. */
+/* Verify that we diagnose "gang reduction on an orphan loop" for automatically
+ assigned gang level of parallelism. */
... to implement what the OpenACC specification actually says.
Fix-up for preceding commit 2b7dac2c0dcb087da9e4018943c023c0678234a3
"Make OpenACC orphan gang reductions errors".
gcc/
* omp-offload.c (oacc_loop_auto_partitions): Remove erroneous
"Orphan reductions cannot have gang partitioning" handling.
gcc/testsuite/
* c-c++-common/goacc/nested-reductions-1-routine.c: Adjust.
* c-c++-common/goacc/nested-reductions-2-routine.c: Adjust.
* c-c++-common/goacc/orphan-reductions-2.c: Adjust.
* gfortran.dg/goacc/nested-reductions-1-routine.f90: Adjust.
* gfortran.dg/goacc/nested-reductions-2-routine.f90: Adjust.
* gfortran.dg/goacc/orphan-reductions-1.f90: Adjust.
* gfortran.dg/goacc/orphan-reductions-2.f90: Adjust.
Diffstat (limited to 'gcc/objc')
0 files changed, 0 insertions, 0 deletions