This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 06/10, OpenACC] Adjust parallelism of loops in gang-single parts of OpenACC kernels regions
- From: Kwok Cheung Yeung <kcy at codesourcery dot com>
- To: <gcc-patches at gcc dot gnu dot org>, Jakub Jelinek <jakub at redhat dot com>
- Cc: Thomas Schwinge <thomas at codesourcery dot com>
- Date: Mon, 5 Aug 2019 22:56:29 +0100
- Subject: Re: [PATCH 06/10, OpenACC] Adjust parallelism of loops in gang-single parts of OpenACC kernels regions
- Ironport-sdr: oCE4oM22CpByYFMKfi7MoenCgxRFx3BVuppdCKv2fr3VCFTMzmJaj+vKsoLAT1kKq4Fy5HllVJ 6A+Q5jypQ24L9HKM1iRwlkgSzFuJFbtMd1YYz7h1gwUjAO+VEXC0eMysV2/EU8RrtywvvBDNGm gjIZrVI1uO5nuHGW/rsnGeizDLn+QiFjiVxE1dMNeRkE7uKC91Nc3/JyK0mhaYLiaATt8huJiH yZcWV5pFO0TT90tRo2mcazK54vNlME5yqVKjnwdIMb/1psoQn8lYRVCJkxO3gANEXWWXc5Pdhd K/8=
- Ironport-sdr: L9Ggx0pM1rtw11+D4ra3ArdDv4I7QhGy/E5TDWIU3RXCZCY7v9vmR3/8ArQzB5tUdQVcmZdZ6o 9Iy7tJQ7nvSr7fz5lnUr+fp0V9u45Xca9ESu+3lhjW4gBmDohL5rKdFNJFijfjS6ActJBXOy0t kWjyXtc/o/C2BSON058Ytb+sDFoKDiehtqMh6bsr65pF1S7QDE31Cr/GE+RTVEc0VitEfkLl2t 88WrOhv4eA3TWgx/4JeYpLF/v3WgdYjiLcoJXdXalaKR5NAnQ+LuauK7m290QzeFwvFQMtHlDj fqk=
- References: <5e191259-d5d5-34ce-7fd5-fc8d2e6d982e@codesourcery.com> <f48c57e3-a247-4409-e6e5-a64e3c32de61@codesourcery.com>
The change to patch 04 (Turn OpenACC kernels regions into a sequence of
parallel regions) necessitates an additional include of
'diagnostic-core.h' in omp-oacc-kernels.c, as it is no longer indirectly
included by 'cp/cp-tree.h'.
Kwok
On 17/07/2019 10:12 pm, Kwok Cheung Yeung wrote:
Loops in gang-single parts of kernels regions cannot be executed in
gang-redundant mode. If the user specified gang clauses on such loops,
emit an error and remove these clauses. Adjust automatic partitioning to
exclude gang partitioning in gang-single regions.