]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[og9] Add missing exec_params libgomp plugin entry points
authorJulian Brown <julian@codesourcery.com>
Mon, 5 Aug 2019 22:05:35 +0000 (15:05 -0700)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 3 Mar 2020 11:50:41 +0000 (12:50 +0100)
libgomp/
* plugin/plugin-gcn.c (GOMP_OFFLOAD_openacc_exec_params,
GOMP_OFFLOAD_openacc_async_exec_params): New functions.

(cherry picked from openacc-gcc-9-branch commit
6a2a29256ca9c964745ae18d65ca681afec460c9)

libgomp/ChangeLog.omp
libgomp/plugin/plugin-gcn.c

index a187ebb72950e3f31dbd78788aaaf0a04f115a27..80d089f49e2a00d16c8d8256fb5eb9634ac216bc 100644 (file)
@@ -1,3 +1,8 @@
+2019-08-08  Julian Brown  <julian@codesourcery.com>
+
+       * plugin/plugin-gcn.c (GOMP_OFFLOAD_openacc_exec_params,
+       GOMP_OFFLOAD_openacc_async_exec_params): New functions.
+
 2019-07-31  Julian Brown  <julian@codesourcery.com>
 
        * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Use relative
index b059348c7bf6bedfb2ee0ef78902dda0bfb7ff25..6eaae66c1a91dcc6b824184513d994e4602db4bd 100644 (file)
@@ -3291,6 +3291,14 @@ GOMP_OFFLOAD_openacc_exec (void (*fn_ptr) (void *), size_t mapnum,
            NULL);
 }
 
+void
+GOMP_OFFLOAD_openacc_exec_params (void (*fn_ptr) (void *), size_t mapnum,
+                                 void **hostaddrs, void **devaddrs,
+                                 unsigned *dims, void *targ_mem_desc)
+{
+  GOMP_PLUGIN_fatal ("OpenACC exec params unimplemented.");
+}
+
 void
 GOMP_OFFLOAD_openacc_async_exec (void (*fn_ptr) (void *), size_t mapnum,
                                 void **hostaddrs, void **devaddrs,
@@ -3303,6 +3311,15 @@ GOMP_OFFLOAD_openacc_async_exec (void (*fn_ptr) (void *), size_t mapnum,
            aq);
 }
 
+void
+GOMP_OFFLOAD_openacc_async_exec_params (void (*fn) (void *), size_t mapnum,
+                                       void **hostaddrs, void **devaddrs,
+                                       unsigned *dims, void *targ_mem_desc,
+                                       struct goacc_asyncqueue *aq)
+{
+  GOMP_PLUGIN_fatal ("OpenACC async exec params unimplemented.");
+}
+
 struct goacc_asyncqueue *
 GOMP_OFFLOAD_openacc_async_construct (int device)
 {