]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Add missing exec_params libgomp plugin entry points
authorJulian Brown <julian@codesourcery.com>
Mon, 5 Aug 2019 22:05:35 +0000 (15:05 -0700)
committerKwok Cheung Yeung <kcy@codesourcery.com>
Tue, 21 Jun 2022 13:11:17 +0000 (14:11 +0100)
libgomp/
* plugin/plugin-gcn.c (GOMP_OFFLOAD_openacc_exec_params,
GOMP_OFFLOAD_openacc_async_exec_params): New functions.

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

index 76087dc3dde7f6a5f8217f6ee932a73d0b5db0d8..c5f9603e25b7722a02e2abef9b808414d02f9e54 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>
 
        * config/nvptx/gomp_print.c (gomp_print_string, gomp_print_integer,
index f305d7268740821819bb2c1e843f58c2443dd506..26433ad2a375572d6d9b467ec004afa45a7db49f 100644 (file)
@@ -3818,6 +3818,14 @@ GOMP_OFFLOAD_openacc_exec (void (*fn_ptr) (void *), size_t mapnum,
 
 /* Run an asynchronous OpenACC kernel on the specified queue.  */
 
+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,
@@ -3832,6 +3840,15 @@ GOMP_OFFLOAD_openacc_async_exec (void (*fn_ptr) (void *), size_t mapnum,
 
 /* Create a new asynchronous thread and queue for running future kernels.  */
 
+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)
 {