This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[gomp4] remove some tile tests


In implementing tile I discovered two existing runtime tile tests. These were only passing because tile was completely ignored. One of them exposes a latent bug in collapse, in my WIP, but I don't want to get distracted by that right now.

Better to have tile tests test tile tiles.

nathan
2016-09-30  Nathan Sidwell  <nathan@codesourcery.com>

	* testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.c: Remove
	tile test.
	* testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.h: Likewise.
	* testsuite/libgomp.oacc-fortran/kernels-loop-1.f90: Likewise.

Index: testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.c
===================================================================
--- testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.c	(revision 240654)
+++ testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.c	(working copy)
@@ -29,12 +29,10 @@ main ()
       || test_none_auto ()
       || test_none_independent ()
       || test_none_seq ()
-      || test_none_tile ()
       || test_gangs_none ()
       || test_gangs_auto ()
       || test_gangs_independent ()
-      || test_gangs_seq ()
-      || test_gangs_tile ())
+      || test_gangs_seq ())
     abort ();
   return 0;
 }
Index: testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.h
===================================================================
--- testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.h	(revision 240654)
+++ testsuite/libgomp.oacc-c-c++-common/parallel-loop-1.h	(working copy)
@@ -18,8 +18,3 @@
 #include "parallel-loop-2.h"
 #undef S
 #undef N
-#define S tile(*)
-#define N(x) M(x, G, tile)
-#include "parallel-loop-2.h"
-#undef S
-#undef N
Index: testsuite/libgomp.oacc-fortran/kernels-loop-1.f90
===================================================================
--- testsuite/libgomp.oacc-fortran/kernels-loop-1.f90	(revision 240654)
+++ testsuite/libgomp.oacc-fortran/kernels-loop-1.f90	(working copy)
@@ -54,17 +54,6 @@ program loops
 
   call check (a, b, n)
 
-  ! PRESENT_OR_COPY
-
-  !$acc kernels pcopy (a)
-  !$acc loop tile (*)
-  do i = 1, n
-     a(i) = i
-  end do
-  !$acc end kernels
-
-  call check (a, b, n)
-
 end program loops
 
 subroutine check (a, b, n)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]