]> git.ipfire.org Git - thirdparty/gcc.git/commit
[PR88495] An OpenACC async queue is always synchronized with itself
authortschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Dec 2018 20:43:02 +0000 (20:43 +0000)
committertschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Dec 2018 20:43:02 +0000 (20:43 +0000)
commit963e7a8d58a248f8093947e9a5ba56306d36a8e2
treefe3691f588a1fb4281a4e96daa9607b92f809a48
parent44b7d2b9c1b1a535212b8312c6dc76dd1570db45
[PR88495] An OpenACC async queue is always synchronized with itself

An OpenACC async queue is always synchronized with itself, so invocations like
"#pragma acc wait(0) async(0)", or "acc_wait_async (0, 0)" don't make a lot of
sense, but are still valid.

libgomp/
PR libgomp/88495
* plugin/plugin-nvptx.c (nvptx_wait_async): Don't refuse
"identical parameters".
* testsuite/libgomp.oacc-c-c++-common/asyncwait-nop-1.c: Update.
* testsuite/libgomp.oacc-c-c++-common/lib-80.c: Remove.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267152 138bc75d-0d04-0410-961f-82ee72b054a4
libgomp/ChangeLog
libgomp/plugin/plugin-nvptx.c
libgomp/testsuite/libgomp.oacc-c-c++-common/asyncwait-nop-1.c
libgomp/testsuite/libgomp.oacc-c-c++-common/lib-80.c [deleted file]