From: Julian Brown Date: Mon, 5 Aug 2019 22:05:35 +0000 (-0700) Subject: [og9] Add missing exec_params libgomp plugin entry points X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48baddfe4b917a1586d8df2297852c771cfd0f06;p=thirdparty%2Fgcc.git [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) --- diff --git a/libgomp/ChangeLog.omp b/libgomp/ChangeLog.omp index a187ebb72950..80d089f49e2a 100644 --- a/libgomp/ChangeLog.omp +++ b/libgomp/ChangeLog.omp @@ -1,3 +1,8 @@ +2019-08-08 Julian Brown + + * plugin/plugin-gcn.c (GOMP_OFFLOAD_openacc_exec_params, + GOMP_OFFLOAD_openacc_async_exec_params): New functions. + 2019-07-31 Julian Brown * 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 b059348c7bf6..6eaae66c1a91 100644 --- a/libgomp/plugin/plugin-gcn.c +++ b/libgomp/plugin/plugin-gcn.c @@ -3291,6 +3291,14 @@ GOMP_OFFLOAD_openacc_exec (void (*fn_ptr) (void *), size_t mapnum, NULL); } +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, @@ -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) {