[PATCH 4/10] OpenACC 2.0 support for libgomp - host plugin

Julian Brown julian@codesourcery.com
Tue Sep 23 18:18:00 GMT 2014


This patch was originally by Thomas Schwinge and was posted here:

  https://gcc.gnu.org/ml/gcc-patches/2014-02/msg01172.html

It implements a plugin for host execution that can be used for testing
non-shared-memory semantics on a "virtual" target device. It's merged
with a minor follow-up patch, also by Thomas.

Julian

xxxx-xx-xx  Thomas Schwinge  <thomas@codesourcery.com>
	    James Norris  <jnorris@codesourcery.com>

       * plugin-host.c: New file.
       * target.c (struct gomp_device_descr): Add device_alloc_func,
       device_free_func, device_dev2host_func, device_host2dev_func
       members.
       (gomp_load_plugin_for_device): Load these.
       (gomp_map_vars, gomp_unmap_tgt, gomp_unmap_vars, gomp_update):
         Use these.
       (resolve_device, gomp_find_available_plugins): Remove ID 257
         hack.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 04-host-plugin-1.diff
Type: text/x-patch
Size: 12364 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20140923/9d86ab18/attachment.bin>


More information about the Gcc-patches mailing list