Hi!
On Tue, 16 May 2017 20:55:46 +0800, Chung-Lin Tang
wrote:
> finalize clause of the exit data directive, and the
> corresponding API routines.
> --- libgomp/oacc-parallel.c (revision 248095)
> +++ libgomp/oacc-parallel.c (revision 248096)
> @@ -355,7 +355,22 @@
> }
> }
>el
Hi!
On Tue, 16 May 2017 20:55:46 +0800, Chung-Lin Tang
wrote:
> finalize clause of the exit data directive
Thanks!
> --- libgomp/oacc-parallel.c (revision 248095)
> +++ libgomp/oacc-parallel.c (revision 248096)
> void
> GOACC_enter_exit_data (int device, size_t mapnum,
>
Hi!
On Tue, 16 May 2017 20:55:46 +0800, Chung-Lin Tang
wrote:
> finalize clause of the exit data directive
This would run into ICEs in the C++ front end (template handling) as well
as C and Fortran front ends (nested function handling), and didn't
pretty-print the "finalize" clause. Also test
Hi!
On Tue, 16 May 2017 20:55:46 +0800, Chung-Lin Tang
wrote:
> finalize clause of the exit data directive
The OpenACC front end code currently maps the OpenACC delete clause to
"OMP_CLAUSE_DELETE" -- however, without a finalize clause, this clause
actually has "OMP_CLAUSE_RELEASE" semantics.
This patch for gomp-4_0-branch implements OpenACC 2.5 reference counting
of mappings, the finalize clause of the exit data directive, and the
corresponding API routines.
Tested without regressions, committed to gomp-4_0-branch.
Chung-Lin
2017-05-16 Chung-Lin Tang
gcc/c/
* c-p