mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
fb607032b8
commit
ebdc83f0a8
|
|
@ -1,3 +1,8 @@
|
|||
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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue