[PATCH 2/10] OpenACC 2.0 support for libgomp - initial plugin support
Tue Sep 23 18:18:00 GMT 2014
This patch is by Michael Zolotukhin and was originally posted here:
It contains an initial implementation of plugin support for libgomp,
for implementing different hardware devices for pieces of accelerated
code to be offloaded to.
I also merged a minor follow-up fix by Thomas Schwinge.
xxxx-xx-xx Michael Zolotukhin <firstname.lastname@example.org>
Thomas Schwinge <email@example.com>
* configure.ac: Add checks for plugins support.
* config.h.in: Regenerated.
* configure: Regenerated.
* target.c (struct target_mem_desc): Add device_descr field.
(struct gomp_device_descr): New.
(gomp_get_num_devices): Call gomp_target_init.
(resolve_device): Return device_descr instead of int.
(gomp_map_vars): Add devicep argument and update the function
(GOMP_target): Use device_descr struct.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 19779 bytes
Desc: not available
More information about the Gcc-patches