https://gcc.gnu.org/g:41fe653017bfa52e6a479a2760a480b49b75f862

commit 41fe653017bfa52e6a479a2760a480b49b75f862
Author: Julian Brown <jul...@codesourcery.com>
Date:   Mon Aug 5 15:05:35 2019 -0700

    Add missing exec_params libgomp plugin entry points
    
            libgomp/
            * plugin/plugin-gcn.c (GOMP_OFFLOAD_openacc_exec_params,
            GOMP_OFFLOAD_openacc_async_exec_params): New functions.

Diff:
---
 libgomp/ChangeLog.omp       |  5 +++++
 libgomp/plugin/plugin-gcn.c | 17 +++++++++++++++++
 2 files changed, 22 insertions(+)

diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp
index 9cdcb3d18ab..0b91f66735d 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -1,3 +1,8 @@
+2019-08-08  Julian Brown  <jul...@codesourcery.com>
+
+       * plugin/plugin-gcn.c (GOMP_OFFLOAD_openacc_exec_params,
+       GOMP_OFFLOAD_openacc_async_exec_params): New functions.
+
 2019-07-31  Julian Brown  <jul...@codesourcery.com>
 
        * config/nvptx/gomp_print.c (gomp_print_string, gomp_print_integer,
diff --git a/libgomp/plugin/plugin-gcn.c b/libgomp/plugin/plugin-gcn.c
index 3cdc7ba929f..4988dfb0c8e 100644
--- a/libgomp/plugin/plugin-gcn.c
+++ b/libgomp/plugin/plugin-gcn.c
@@ -4415,6 +4415,14 @@ GOMP_OFFLOAD_openacc_exec (void (*fn_ptr) (void *),
 
 /* 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 __attribute__((unused)),
@@ -4430,6 +4438,15 @@ GOMP_OFFLOAD_openacc_async_exec (void (*fn_ptr) (void *),
 
 /* 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)
 {

Reply via email to