From a051317b739c58ac84f9e7c60135bd457e94bc19 Mon Sep 17 00:00:00 2001 From: Nathan Sidwell Date: Mon, 20 Jul 2015 17:38:49 +0000 Subject: [PATCH] Missed a difference between gomp4 and trunk From-SVN: r226012 --- libgomp/oacc-parallel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgomp/oacc-parallel.c b/libgomp/oacc-parallel.c index e1ea2c62c44..d0e5f949fb0 100644 --- a/libgomp/oacc-parallel.c +++ b/libgomp/oacc-parallel.c @@ -436,7 +436,7 @@ GOACC_wait (int async, int num_waits, ...) else if (async == acc_async_sync) acc_wait_all (); else if (async == acc_async_noval) - acc_dev->openacc.async_wait_all_async_func (acc_async_noval); + goacc_thread ()->dev->openacc.async_wait_all_async_func (acc_async_noval); } int -- 2.30.2