Commit 77ef3394 by Jakub Jelinek Committed by Jakub Jelinek

re PR libgomp/92081 (FAIL: libgomp.fortran/target-simd.f90 execution test)

	PR libgomp/92081
	* testsuite/libgomp.fortran/target-simd.f90: Iterate from 1 rather
	than 0.

From-SVN: r276956
parent e67b6ba6
2019-10-14 Jakub Jelinek <jakub@redhat.com>
PR libgomp/92081
* testsuite/libgomp.fortran/target-simd.f90: Iterate from 1 rather
than 0.
2019-10-11 Tobias Burnus <tobias@codesourcery.com>
* testsuite/libgomp.fortran/use_device_addr-1.f90: New.
......
......@@ -10,14 +10,14 @@ program test
b = 0
!$omp target simd map(to:a) map(from:b)
do i = 0, size(a)
do i = 1, size(a)
b(i) = 5.0 * a(i)
end do
if (any (b - 5.0 *a > 10.0*epsilon(a))) call abort()
!$omp target simd map(to:a) map(from:b)
do i = 0, size(a)
do i = 1, size(a)
b(i) = 2.0 * a(i)
end do
!$omp end target simd
......
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