mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-16 18:40:57 +08:00
Add missing initializations in oacc testcases
2016-03-24 Tom de Vries <tom@codesourcery.com> * gfortran.dg/goacc/data-tree.f95: Add missing initialization. * gfortran.dg/goacc/kernels-tree.f95: Same. * gfortran.dg/goacc/parallel-tree.f95: Same. From-SVN: r234452
This commit is contained in:
parent
b2a4dd1ddc
commit
ea064934b6
@ -1,3 +1,9 @@
|
||||
2016-03-24 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
* gfortran.dg/goacc/data-tree.f95: Add missing initialization.
|
||||
* gfortran.dg/goacc/kernels-tree.f95: Same.
|
||||
* gfortran.dg/goacc/parallel-tree.f95: Same.
|
||||
|
||||
2016-03-24 Tom de Vries <tom@codesourcery.com>
|
||||
|
||||
* c-c++-common/goacc/uninit-if-clause.c: New test.
|
||||
|
@ -4,7 +4,7 @@
|
||||
program test
|
||||
implicit none
|
||||
integer :: q, i, j, k, m, n, o, p, r, s, t, u, v, w
|
||||
logical :: l
|
||||
logical :: l = .true.
|
||||
|
||||
!$acc data if(l) copy(i), copyin(j), copyout(k), create(m) &
|
||||
!$acc present(o), pcopy(p), pcopyin(r), pcopyout(s), pcreate(t) &
|
||||
|
@ -4,7 +4,7 @@
|
||||
program test
|
||||
implicit none
|
||||
integer :: q, i, j, k, m, n, o, p, r, s, t, u, v, w
|
||||
logical :: l
|
||||
logical :: l = .true.
|
||||
|
||||
!$acc kernels if(l) async copy(i), copyin(j), copyout(k), create(m) &
|
||||
!$acc present(o), pcopy(p), pcopyin(r), pcopyout(s), pcreate(t) &
|
||||
|
@ -6,7 +6,7 @@
|
||||
program test
|
||||
implicit none
|
||||
integer :: q, i, j, k, m, n, o, p, r, s, t, u, v, w
|
||||
logical :: l
|
||||
logical :: l = .true.
|
||||
|
||||
!$acc parallel if(l) async num_gangs(i) num_workers(i) vector_length(i) &
|
||||
!$acc reduction(max:q), copy(i), copyin(j), copyout(k), create(m) &
|
||||
|
Loading…
x
Reference in New Issue
Block a user