Commit ea064934 by Tom de Vries Committed by Tom de Vries

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
parent b2a4dd1d
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.
* gfortran.dg/goacc/uninit-if-clause.f95: 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) &
......
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