[hsa testsuite] Adjust libgomp tests that do not work on host fallback
authorjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Mar 2016 18:42:33 +0000 (18:42 +0000)
committerjamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Mar 2016 18:42:33 +0000 (18:42 +0000)
2016-03-07  Martin Jambor  <mjambor@suse.cz>

* testsuite/libgomp.c/examples-4/async_target-2.c: Only run on
non-shared memory accelerators.
* testsuite/libgomp.c/examples-4/device-1.c: Likewise.
* testsuite/libgomp.c/examples-4/target-5.c: Likewise.
* testsuite/libgomp.c/examples-4/target_data-6.c: Likewise.
* testsuite/libgomp.c/examples-4/target_data-7.c: Likewise.
* testsuite/libgomp.fortran/examples-4/async_target-2.f90: Likewise.
* testsuite/libgomp.fortran/examples-4/device-1.f90: Likewise.
* testsuite/libgomp.fortran/examples-4/target-5.f90: Likewise.
* testsuite/libgomp.fortran/examples-4/target_data-6.f90: Likewise.
* testsuite/libgomp.fortran/examples-4/target_data-7.f90: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234046 138bc75d-0d04-0410-961f-82ee72b054a4

libgomp/ChangeLog
libgomp/testsuite/libgomp.c/examples-4/async_target-2.c
libgomp/testsuite/libgomp.c/examples-4/device-1.c
libgomp/testsuite/libgomp.c/examples-4/target-5.c
libgomp/testsuite/libgomp.c/examples-4/target_data-6.c
libgomp/testsuite/libgomp.c/examples-4/target_data-7.c
libgomp/testsuite/libgomp.fortran/examples-4/async_target-2.f90
libgomp/testsuite/libgomp.fortran/examples-4/device-1.f90
libgomp/testsuite/libgomp.fortran/examples-4/target-5.f90
libgomp/testsuite/libgomp.fortran/examples-4/target_data-6.f90
libgomp/testsuite/libgomp.fortran/examples-4/target_data-7.f90

index 590adb2..cfdee56 100644 (file)
@@ -1,5 +1,19 @@
 2016-03-07  Martin Jambor  <mjambor@suse.cz>
 
+       * testsuite/libgomp.c/examples-4/async_target-2.c: Only run on
+       non-shared memory accelerators.
+       * testsuite/libgomp.c/examples-4/device-1.c: Likewise.
+       * testsuite/libgomp.c/examples-4/target-5.c: Likewise.
+       * testsuite/libgomp.c/examples-4/target_data-6.c: Likewise.
+       * testsuite/libgomp.c/examples-4/target_data-7.c: Likewise.
+       * testsuite/libgomp.fortran/examples-4/async_target-2.f90: Likewise.
+       * testsuite/libgomp.fortran/examples-4/device-1.f90: Likewise.
+       * testsuite/libgomp.fortran/examples-4/target-5.f90: Likewise.
+       * testsuite/libgomp.fortran/examples-4/target_data-6.f90: Likewise.
+       * testsuite/libgomp.fortran/examples-4/target_data-7.f90: Likewise.
+
+2016-03-07  Martin Jambor  <mjambor@suse.cz>
+
        * testsuite/lib/libgomp.exp (libgomp_init): Append -Wno-hsa to
        ALWAYS_CFLAGS.
 
index ce63328..0c76f8e 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-require-effective-target offload_device } */
+/* { dg-require-effective-target offload_device_nonshared_as } */
 
 #include <omp.h>
 #include <stdlib.h>
index dad8572..46aa160 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-require-effective-target offload_device } */
+/* { dg-require-effective-target offload_device_nonshared_as } */
 
 #include <omp.h>
 #include <stdlib.h>
index 1853fba..1c14bae 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-require-effective-target offload_device } */
+/* { dg-require-effective-target offload_device_nonshared_as } */
 
 #include <omp.h>
 #include <stdlib.h>
index affeb49..57c7c0c 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-require-effective-target offload_device } */
+/* { dg-require-effective-target offload_device_nonshared_as } */
 
 #include <stdlib.h>
 #include <omp.h>
index c18d480..8ec41ea 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do run } */
-/* { dg-require-effective-target offload_device } */
+/* { dg-require-effective-target offload_device_nonshared_as } */
 
 #include <stdlib.h>
 #include <omp.h>
index b12b0ea..a94db89 100644 (file)
@@ -1,5 +1,5 @@
 ! { dg-do run }
-! { dg-require-effective-target offload_device }
+! { dg-require-effective-target offload_device_nonshared_as }
 
 subroutine init (v1, v2, N)
   !$omp declare target
index 291604b..a411db4 100644 (file)
@@ -1,5 +1,5 @@
 ! { dg-do run }
-! { dg-require-effective-target offload_device }
+! { dg-require-effective-target offload_device_nonshared_as }
 
 program e_57_1
   use omp_lib, only: omp_is_initial_device
index 3f454d7..813a273 100644 (file)
@@ -1,5 +1,5 @@
 ! { dg-do run }
-! { dg-require-effective-target offload_device }
+! { dg-require-effective-target offload_device_nonshared_as }
 
 module e_50_5_mod
 integer, parameter :: THRESHOLD1 = 500, THRESHOLD2 = 100
index 258da21..9b79104 100644 (file)
@@ -1,5 +1,5 @@
 ! { dg-do run }
-! { dg-require-effective-target offload_device }
+! { dg-require-effective-target offload_device_nonshared_as }
 
 module e_51_6_mod
 integer, parameter :: THRESHOLD = 500
index 2ddac9e..8fc5832 100644 (file)
@@ -1,5 +1,5 @@
 ! { dg-do run }
-! { dg-require-effective-target offload_device }
+! { dg-require-effective-target offload_device_nonshared_as }
 
 module e_51_7_mod
 integer, parameter :: THRESHOLD = 500