Commit ebdc83f0 by Cesar Philippidis Committed by Cesar Philippidis

Fix bug in an OpenACC async test case

	libgomp/
	* testsuite/libgomp.oacc-c-c++-common/data-2-lib.c: Add missing
	call to acc_wait (1).

From-SVN: r255308
parent fb607032
2017-12-01 Cesar Philippidis <cesar@codesourcery.com>
* testsuite/libgomp.oacc-c-c++-common/data-2-lib.c: Add missing
call to acc_wait (1).
2017-11-24 Jakub Jelinek <jakub@redhat.com>
PR fortran/81304
......
......@@ -64,6 +64,8 @@ main (int argc, char **argv)
for (i = 0; i < N; i++)
b[i] = a[i];
acc_wait (1);
acc_memcpy_from_device (a, d_a, nbytes);
acc_memcpy_from_device (b, d_b, nbytes);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment