diff options
author | Alexander Monakov <amonakov@ispras.ru> | 2016-01-15 13:37:30 +0300 |
---|---|---|
committer | Alexander Monakov <amonakov@ispras.ru> | 2016-01-20 18:35:27 +0300 |
commit | 9599235d847610670c186e6d672250c7a28f0d38 (patch) | |
tree | b195b212181a39ed54a468bd9d16c17fc5322d5e /libgomp/oacc-host.c | |
parent | 01f92ec03161b4539fb5466f49ab1c547e9bd5cd (diff) | |
download | gcc-9599235d847610670c186e6d672250c7a28f0d38.tar.gz |
pick GOMP_target_ext changes from the hsa branch
This adds necessary plumbing to spawn multiple teams.
To be reverted on this branch prior to merge.
Diffstat (limited to 'libgomp/oacc-host.c')
-rw-r--r-- | libgomp/oacc-host.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libgomp/oacc-host.c b/libgomp/oacc-host.c index 98748041bfc..a7692116e94 100644 --- a/libgomp/oacc-host.c +++ b/libgomp/oacc-host.c @@ -123,7 +123,8 @@ host_host2dev (int n __attribute__ ((unused)), } static void -host_run (int n __attribute__ ((unused)), void *fn_ptr, void *vars) +host_run (int n __attribute__ ((unused)), void *fn_ptr, void *vars, + void **args __attribute__((unused))) { void (*fn)(void *) = (void (*)(void *)) fn_ptr; |