On 07/21/15 05:51, Jakub Jelinek wrote:
On Mon, Jul 20, 2015 at 07:08:55PM -0400, Nathan Sidwell wrote:
2015-07-20  Nathan Sidwell  <nat...@codesourcery.com>

        libgomp/
        * target.c (gomp_offload_image_to_device): Rename to ...
        (gomp_load_image_to_device): ... here.
        (GOMP_offload_register): Adjust call.
        (gomp_init_device): Likewise.
        (gomp_unload_image_from_device): New.  Broken out of ...
        (GOMP_offload_unregister): ... here.  Call it.
        (gomp_unload_device): New.
        * libgomp.h (gomp_unload_device): Declare.
        * oacc-init.c (acc_shutdown_1): Unload from device before deleting
        mem maps.

        gcc/
        * config/nvptx/mkoffload.c (process): Add destructor call.

Ok if also tested on Intel MIC, with a few changes:

Ilya, are you able to test Intel MIC for me?

nathan

Reply via email to