summaryrefslogtreecommitdiff
path: root/libgomp/plugin
diff options
context:
space:
mode:
authornathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-03 20:18:33 +0000
committernathan <nathan@138bc75d-0d04-0410-961f-82ee72b054a4>2015-11-03 20:18:33 +0000
commit71024455d0a97b53ca0189b1750869fe2a6d5c4a (patch)
treeeafcfcced078b7b42a1f3c2ceaf94fb816bcddc6 /libgomp/plugin
parent71e4c29dc237254efda1e81e0a1b62953e5bf4a9 (diff)
downloadgcc-71024455d0a97b53ca0189b1750869fe2a6d5c4a.tar.gz
* libgomp.h (struct acc_dispatch_t): Remove args from exec_func.
* plugin/plugin-nvptx.c (nvptx_exec): Remove sizes & kinds arg. (GOMP_OFFLOAD_openacc_parallel): Likewise. * oacc-host.c (host_openacc_exec): Likewise. * oacc-parallel.c (GOACC_parallel_keyed): Adjust exec_func call. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@229721 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgomp/plugin')
-rw-r--r--libgomp/plugin/plugin-nvptx.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/libgomp/plugin/plugin-nvptx.c b/libgomp/plugin/plugin-nvptx.c
index 5c9334900c2..657028e161d 100644
--- a/libgomp/plugin/plugin-nvptx.c
+++ b/libgomp/plugin/plugin-nvptx.c
@@ -877,8 +877,7 @@ event_add (enum ptx_event_type type, CUevent *e, void *h)
void
nvptx_exec (void (*fn), size_t mapnum, void **hostaddrs, void **devaddrs,
- size_t *sizes, unsigned short *kinds, int async, unsigned *dims,
- void *targ_mem_desc)
+ int async, unsigned *dims, void *targ_mem_desc)
{
struct targ_fn_descriptor *targ_fn = (struct targ_fn_descriptor *) fn;
CUfunction function;
@@ -1653,11 +1652,9 @@ void (*device_run) (int n, void *fn_ptr, void *vars) = NULL;
void
GOMP_OFFLOAD_openacc_parallel (void (*fn) (void *), size_t mapnum,
void **hostaddrs, void **devaddrs,
- size_t *sizes, unsigned short *kinds,
int async, unsigned *dims, void *targ_mem_desc)
{
- nvptx_exec (fn, mapnum, hostaddrs, devaddrs, sizes, kinds,
- async, dims, targ_mem_desc);
+ nvptx_exec (fn, mapnum, hostaddrs, devaddrs, async, dims, targ_mem_desc);
}
void