]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgomp/oacc-plugin.h
Merge current set of OpenACC changes from gomp-4_0-branch.
[thirdparty/gcc.git] / libgomp / oacc-plugin.h
similarity index 71%
rename from libgomp/libgomp_target.h
rename to libgomp/oacc-plugin.h
index 2e18a64b1644c6f9e86928b707e24a1d7341f988..c60eb9c5ddd175f71f4bb30aa7a67d775d1c0e35 100644 (file)
@@ -1,5 +1,7 @@
 /* Copyright (C) 2014-2015 Free Software Foundation, Inc.
 
+   Contributed by Mentor Embedded.
+
    This file is part of the GNU Offloading and Multi Processing Library
    (libgomp).
 
    see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
    <http://www.gnu.org/licenses/>.  */
 
-#ifndef LIBGOMP_TARGET_H
-#define LIBGOMP_TARGET_H 1
-
-/* Type of offload target device.  */
-enum offload_target_type
-{
-  OFFLOAD_TARGET_TYPE_HOST,
-  OFFLOAD_TARGET_TYPE_INTEL_MIC
-};
-
-/* Auxiliary struct, used for transferring a host-target address range mapping
-   from plugin to libgomp.  */
-struct mapping_table
-{
-  uintptr_t host_start;
-  uintptr_t host_end;
-  uintptr_t tgt_start;
-  uintptr_t tgt_end;
-};
-
-#endif /* LIBGOMP_TARGET_H */
+#ifndef OACC_PLUGIN_H
+#define OACC_PLUGIN_H 1
+
+extern void GOMP_PLUGIN_async_unmap_vars (void *);
+extern void *GOMP_PLUGIN_acc_thread (void);
+
+#endif