[gomp4.1] Add new versions of GOMP_target{,_data,_update} and GOMP_target_enter_exit_data
Jakub Jelinek
jakub@redhat.com
Wed Jun 24 20:21:00 GMT 2015
On Wed, Jun 24, 2015 at 11:11:12PM +0300, Ilya Verbin wrote:
> Indeed, here is the fix, make check-target-libgomp passed.
>
>
> libgomp/
> * libgomp.h (struct target_var_desc): Add offset and length.
> * target.c (gomp_map_vars_existing): New argument tgt_var, fill it.
> (gomp_map_vars): Move filling of tgt->list[i] into
> gomp_map_vars_existing. Add missed case GOMP_MAP_ALWAYS_FROM.
> (gomp_unmap_vars): Add list[i].offset to host and target addresses,
> use list[i].length instead of k->host_end - k->host_start.
> * testsuite/libgomp.c/target-11.c: Extend for testing array sections.
Ok, thanks.
Jakub
More information about the Gcc-patches
mailing list