diff options
author | Julian Brown <julian@codesourcery.com> | 2019-08-05 15:05:35 -0700 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2020-03-03 12:50:41 +0100 |
commit | 48baddfe4b917a1586d8df2297852c771cfd0f06 (patch) | |
tree | af0f6292118cc1df6fe7f46d29d8f8ea88dd1e65 /libgomp | |
parent | 78ffe6be90f5f0d0aa01772659879fd81e480dc9 (diff) | |
download | gcc-48baddfe4b917a1586d8df2297852c771cfd0f06.zip gcc-48baddfe4b917a1586d8df2297852c771cfd0f06.tar.gz gcc-48baddfe4b917a1586d8df2297852c771cfd0f06.tar.bz2 |
[og9] 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.
(cherry picked from openacc-gcc-9-branch commit
6a2a29256ca9c964745ae18d65ca681afec460c9)
Diffstat (limited to 'libgomp')
-rw-r--r-- | libgomp/ChangeLog.omp | 5 | ||||
-rw-r--r-- | libgomp/plugin/plugin-gcn.c | 17 |
2 files changed, 22 insertions, 0 deletions
diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp index a187ebb..80d089f 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> * testsuite/libgomp.oacc-c-c++-common/parallel-dims.c: Use relative diff --git a/libgomp/plugin/plugin-gcn.c b/libgomp/plugin/plugin-gcn.c index b059348..6eaae66 100644 --- a/libgomp/plugin/plugin-gcn.c +++ b/libgomp/plugin/plugin-gcn.c @@ -3292,6 +3292,14 @@ GOMP_OFFLOAD_openacc_exec (void (*fn_ptr) (void *), size_t mapnum, } 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, unsigned *dims, void *targ_mem_desc, @@ -3303,6 +3311,15 @@ GOMP_OFFLOAD_openacc_async_exec (void (*fn_ptr) (void *), size_t mapnum, aq); } +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) { |