Fix libgomp.oacc-c-c++-common/parallel-reduction.c for non-nvidia devices
2017-09-27 Tom de Vries <tom@codesourcery.com> * testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c (main): Remove acc_device_nvidia references. From-SVN: r253228
This commit is contained in:
parent
c1f80eef74
commit
84c8627ce0
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2017-09-27 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
* testsuite/libgomp.oacc-c-c++-common/parallel-reduction.c (main):
|
||||
Remove acc_device_nvidia references.
|
||||
|
||||
2017-09-16 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
PR c/81875
|
||||
|
|
|
@ -21,7 +21,7 @@ main ()
|
|||
}
|
||||
}
|
||||
|
||||
if (acc_get_device_type () != acc_device_nvidia)
|
||||
if (acc_get_device_type () == acc_device_host)
|
||||
{
|
||||
if (s1 != 1)
|
||||
abort ();
|
||||
|
@ -41,7 +41,7 @@ main ()
|
|||
s2 += N;
|
||||
}
|
||||
|
||||
if (acc_get_device_type () != acc_device_nvidia)
|
||||
if (acc_get_device_type () == acc_device_host)
|
||||
{
|
||||
if (s1 != 1)
|
||||
abort ();
|
||||
|
|
Loading…
Add table
Reference in a new issue