OpenACC: Remove 'acc_async_test' -> skip shortcut in 'libgomp/oacc-async.c:goacc_wait'

We're not taking such a shortcut anywhere else, and (with future changes) it
has potential to confuse things if synchronization in a libgomp plugin happens
to have side effects even if an async queue currently is empty.

	libgomp/
	* oacc-async.c (goacc_wait): Remove 'acc_async_test' -> skip
	shortcut.
This commit is contained in:
Thomas Schwinge 2023-02-24 16:17:57 +01:00
parent 442d51a20e
commit b5037d4a07
1 changed files with 0 additions and 3 deletions

View File

@ -410,9 +410,6 @@ goacc_wait (int async, int num_waits, va_list *ap)
break;
}
if (acc_async_test (qid))
continue;
if (async == acc_async_sync)
acc_wait (qid);
else if (qid == async)