* [PATCH 2/7, OpenACC, libgomp, v5, stage1] Async re-work, other accel target updates
@ 2019-01-22 14:52 Chung-Lin Tang
0 siblings, 0 replies; only message in thread
From: Chung-Lin Tang @ 2019-01-22 14:52 UTC (permalink / raw)
To: Thomas Schwinge, Jakub Jelinek, gcc-patches
[-- Attachment #1: Type: text/plain, Size: 396 bytes --]
This patch updates the 'version' libgomp plugin hook for intelmic and hsa to
return GOMP_PLUGIN_IF_VERSION instead of GOMP_VERSION.
Thanks,
Chung-Lin
liboffloadmic/
* plugin/libgomp-plugin-intelmic.cpp (GOMP_OFFLOAD_version):
Update to return GOMP_PLUGIN_IF_VERSION.
libgomp/
* plugin/plugin-hsa.c (GOMP_OFFLOAD_version): Update to return
GOMP_PLUGIN_IF_VERSION.
[-- Attachment #2: async-v5.02.other-archs.patch --]
[-- Type: text/plain, Size: 889 bytes --]
Index: liboffloadmic/plugin/libgomp-plugin-intelmic.cpp
===================================================================
--- liboffloadmic/plugin/libgomp-plugin-intelmic.cpp (revision 268142)
+++ liboffloadmic/plugin/libgomp-plugin-intelmic.cpp (working copy)
@@ -340,7 +340,7 @@ offload_image (const void *target_image)
extern "C" unsigned
GOMP_OFFLOAD_version (void)
{
- return GOMP_VERSION;
+ return GOMP_PLUGIN_IF_VERSION;
}
extern "C" int
Index: libgomp/plugin/plugin-hsa.c
===================================================================
--- libgomp/plugin/plugin-hsa.c (revision 268142)
+++ libgomp/plugin/plugin-hsa.c (working copy)
@@ -204,7 +204,7 @@ GOMP_OFFLOAD_get_type (void)
unsigned
GOMP_OFFLOAD_version (void)
{
- return GOMP_VERSION;
+ return GOMP_PLUGIN_IF_VERSION;
}
/* Flag to decide whether print to stderr information about what is going on.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-01-22 14:52 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-22 14:52 [PATCH 2/7, OpenACC, libgomp, v5, stage1] Async re-work, other accel target updates Chung-Lin Tang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).