public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/omp/gcc-11] Add missing exec_params libgomp plugin entry points
@ 2021-05-13 16:11 Kwok Yeung
0 siblings, 0 replies; only message in thread
From: Kwok Yeung @ 2021-05-13 16:11 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:f5a700275e6ba7af04f740cb66225077757dfcbb
commit f5a700275e6ba7af04f740cb66225077757dfcbb
Author: Julian Brown <julian@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 7555d2f9c8d..260d98578d1 100644
--- a/libgomp/ChangeLog.omp
+++ b/libgomp/ChangeLog.omp
@@ -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,
diff --git a/libgomp/plugin/plugin-gcn.c b/libgomp/plugin/plugin-gcn.c
index 8aab708b0ef..5818c0fff00 100644
--- a/libgomp/plugin/plugin-gcn.c
+++ b/libgomp/plugin/plugin-gcn.c
@@ -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)
{
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-05-13 16:11 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 16:11 [gcc/devel/omp/gcc-11] Add missing exec_params libgomp plugin entry points Kwok Yeung
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).