Julian Brown
f2f4212e20
openacc: No attach/detach present/release mappings for array descriptors
...
Standalone attach and detach clauses should not create present/release
mappings for Fortran array descriptors (e.g. used when we have a pointer
to an array), both because it is unnecessary and because those mappings
will be incorrectly subject to reference counting. Simply omitting the
mappings means we just use GOMP_MAP_TO_PSET and GOMP_MAP_{ATTACH,DETACH}
mappings for array descriptors.
That requires a tweak in gimplify.c, since we may now see GOMP_MAP_TO_PSET
without a preceding data-movement mapping.
2020-08-03 Julian Brown <julian@codesourcery.com>
Thomas Schwinge <thomas@codesourcery.com>
gcc/fortran/
* trans-openmp.c (gfc_trans_omp_clauses): Don't create present/release
mappings for array descriptors.
gcc/
* gimplify.c (gimplify_omp_target_update): Allow GOMP_MAP_TO_PSET
without a preceding data-movement mapping.
gcc/testsuite/
* gfortran.dg/goacc/attach-descriptor.f90: Update pattern output. Add
scanning of gimplify dump.
libgomp/
* testsuite/libgomp.oacc-fortran/attach-descriptor-1.f90: Don't run for
shared-memory devices. Extend with further checking.
Co-Authored-By: Thomas Schwinge <thomas@codesourcery.com>
2020-08-03 12:06:49 -07:00
..
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2020-02-21 15:38:48 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-06-19 00:14:24 +02:00
2019-06-19 00:14:24 +02:00
2019-06-19 00:14:34 +02:00
2020-03-18 16:28:08 +01:00
2020-08-03 12:06:49 -07:00
2020-07-16 14:12:53 -07:00
2019-12-20 01:39:49 +00:00
2020-01-28 06:00:29 -08:00
2019-12-20 01:39:49 +00:00
2018-05-21 22:48:59 +02:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2018-06-22 12:04:14 +02:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-12-09 12:21:22 +01:00
2019-12-20 01:39:46 +00:00
2020-01-28 06:00:29 -08:00
2019-12-20 01:39:46 +00:00
2019-12-20 01:39:46 +00:00
2020-07-27 09:16:57 -07:00
2020-07-27 09:16:57 -07:00
2019-12-20 01:39:46 +00:00
2019-12-20 01:39:46 +00:00
2019-12-20 01:39:46 +00:00
2019-12-20 01:39:46 +00:00
2019-12-20 01:39:46 +00:00
2019-10-28 08:39:26 +01:00
2020-07-10 08:07:12 -07:00
2020-07-13 03:21:20 -07:00
2020-06-04 18:56:36 +02:00
2020-06-04 18:56:36 +02:00
2020-06-04 18:56:36 +02:00
2020-07-24 14:00:43 +02:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2020-01-10 16:08:41 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-11-04 11:01:22 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2018-06-20 09:35:15 -07:00
2018-06-20 09:35:15 -07:00
2019-10-28 08:39:26 +01:00
2020-07-10 08:07:12 -07:00
2020-07-10 08:07:12 -07:00
2020-07-10 08:07:12 -07:00
2020-07-10 08:07:12 -07:00
2020-07-10 08:07:12 -07:00
2020-06-04 18:56:37 +02:00
2020-07-10 08:07:12 -07:00
2020-06-04 18:56:37 +02:00
2019-12-20 01:39:46 +00:00
2018-05-21 22:48:59 +02:00
2019-12-19 00:10:08 +01:00
2019-12-19 00:10:08 +01:00
2019-12-19 00:10:08 +01:00
2020-02-03 10:10:37 +01:00
2020-02-03 10:10:37 +01:00
2019-12-11 11:40:11 +01:00
2019-12-09 12:21:22 +01:00
2019-12-06 14:06:53 +01:00
2019-12-06 14:06:53 +01:00
2019-12-06 14:06:53 +01:00
2019-12-06 14:06:53 +01:00
2019-12-09 12:21:22 +01:00
2019-12-06 14:06:53 +01:00
2019-12-06 14:06:53 +01:00
2019-12-06 14:06:53 +01:00
2019-12-11 11:40:11 +01:00
2019-12-06 14:06:53 +01:00
2019-12-09 12:21:22 +01:00
2019-11-12 08:45:35 +00:00
2019-11-12 08:45:35 +00:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2018-04-16 18:01:09 +00:00
2019-11-27 18:50:55 +01:00
2019-11-27 18:50:55 +01:00
2019-11-04 11:01:22 +01:00
2019-10-28 08:39:26 +01:00
2019-08-12 20:21:37 +00:00
2020-06-16 20:23:58 +02:00
2020-06-04 18:56:36 +02:00
2020-06-04 18:56:36 +02:00
2020-06-04 18:56:36 +02:00
2019-10-28 08:39:26 +01:00
2019-10-28 08:39:26 +01:00
2019-12-20 01:39:46 +00:00
2019-10-28 08:39:26 +01:00