]> 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>
Wed, 21 Apr 2021 16:33:51 +0000 (09:33 -0700)
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 7555d2f9c8d0454ba71970401da78186eb080c38..260d98578d124017c05f9062a6f21f7353dc3fcb 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 8aab708b0efeb9c124c71a904ea29de9a3b3f0a2..5818c0fff00ecb18a714808429454bc31ac85eb1 100644 (file)
@@ -3736,6 +3736,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,
@@ -3750,6 +3758,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)
 {