public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Kwok Yeung <kcy@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/omp/gcc-12] Add missing exec_params libgomp plugin entry points Date: Wed, 29 Jun 2022 14:35:57 +0000 (GMT) [thread overview] Message-ID: <20220629143557.3350E386C5A0@sourceware.org> (raw) https://gcc.gnu.org/g:d6c3e6281d1b070043f357ae3bd7d86c2493c189 commit d6c3e6281d1b070043f357ae3bd7d86c2493c189 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 76087dc3dde..c5f9603e25b 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 f305d726874..26433ad2a37 100644 --- a/libgomp/plugin/plugin-gcn.c +++ b/libgomp/plugin/plugin-gcn.c @@ -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) {
reply other threads:[~2022-06-29 14:35 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220629143557.3350E386C5A0@sourceware.org \ --to=kcy@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).