diff options
author | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-03-07 18:42:33 +0000 |
---|---|---|
committer | jamborm <jamborm@138bc75d-0d04-0410-961f-82ee72b054a4> | 2016-03-07 18:42:33 +0000 |
commit | a9dac35f5b164fbe6ed6cd06590a6bc1444c14a9 (patch) | |
tree | 9a5dd818851087882b6a89e526238a69f99bea24 /libgomp/testsuite | |
parent | c9b762a13a419b911f0f01f733c6f4872ac9d7d2 (diff) | |
download | gcc-a9dac35f5b164fbe6ed6cd06590a6bc1444c14a9.tar.gz |
[hsa testsuite] Adjust libgomp tests that do not work on host fallback
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
Diffstat (limited to 'libgomp/testsuite')
10 files changed, 10 insertions, 10 deletions
diff --git a/libgomp/testsuite/libgomp.c/examples-4/async_target-2.c b/libgomp/testsuite/libgomp.c/examples-4/async_target-2.c index ce63328a7b4..0c76f8e08a2 100644 --- a/libgomp/testsuite/libgomp.c/examples-4/async_target-2.c +++ b/libgomp/testsuite/libgomp.c/examples-4/async_target-2.c @@ -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> diff --git a/libgomp/testsuite/libgomp.c/examples-4/device-1.c b/libgomp/testsuite/libgomp.c/examples-4/device-1.c index dad8572f8f0..46aa1607d47 100644 --- a/libgomp/testsuite/libgomp.c/examples-4/device-1.c +++ b/libgomp/testsuite/libgomp.c/examples-4/device-1.c @@ -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> diff --git a/libgomp/testsuite/libgomp.c/examples-4/target-5.c b/libgomp/testsuite/libgomp.c/examples-4/target-5.c index 1853fba684b..1c14baeb44e 100644 --- a/libgomp/testsuite/libgomp.c/examples-4/target-5.c +++ b/libgomp/testsuite/libgomp.c/examples-4/target-5.c @@ -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> diff --git a/libgomp/testsuite/libgomp.c/examples-4/target_data-6.c b/libgomp/testsuite/libgomp.c/examples-4/target_data-6.c index affeb490021..57c7c0c8461 100644 --- a/libgomp/testsuite/libgomp.c/examples-4/target_data-6.c +++ b/libgomp/testsuite/libgomp.c/examples-4/target_data-6.c @@ -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> diff --git a/libgomp/testsuite/libgomp.c/examples-4/target_data-7.c b/libgomp/testsuite/libgomp.c/examples-4/target_data-7.c index c18d4803cf3..8ec41ea91a9 100644 --- a/libgomp/testsuite/libgomp.c/examples-4/target_data-7.c +++ b/libgomp/testsuite/libgomp.c/examples-4/target_data-7.c @@ -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> diff --git a/libgomp/testsuite/libgomp.fortran/examples-4/async_target-2.f90 b/libgomp/testsuite/libgomp.fortran/examples-4/async_target-2.f90 index b12b0eaa890..a94db899cc8 100644 --- a/libgomp/testsuite/libgomp.fortran/examples-4/async_target-2.f90 +++ b/libgomp/testsuite/libgomp.fortran/examples-4/async_target-2.f90 @@ -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 diff --git a/libgomp/testsuite/libgomp.fortran/examples-4/device-1.f90 b/libgomp/testsuite/libgomp.fortran/examples-4/device-1.f90 index 291604bee7a..a411db4b076 100644 --- a/libgomp/testsuite/libgomp.fortran/examples-4/device-1.f90 +++ b/libgomp/testsuite/libgomp.fortran/examples-4/device-1.f90 @@ -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 diff --git a/libgomp/testsuite/libgomp.fortran/examples-4/target-5.f90 b/libgomp/testsuite/libgomp.fortran/examples-4/target-5.f90 index 3f454d7d55e..813a273f958 100644 --- a/libgomp/testsuite/libgomp.fortran/examples-4/target-5.f90 +++ b/libgomp/testsuite/libgomp.fortran/examples-4/target-5.f90 @@ -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 diff --git a/libgomp/testsuite/libgomp.fortran/examples-4/target_data-6.f90 b/libgomp/testsuite/libgomp.fortran/examples-4/target_data-6.f90 index 258da21e8f4..9b79104feb8 100644 --- a/libgomp/testsuite/libgomp.fortran/examples-4/target_data-6.f90 +++ b/libgomp/testsuite/libgomp.fortran/examples-4/target_data-6.f90 @@ -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 diff --git a/libgomp/testsuite/libgomp.fortran/examples-4/target_data-7.f90 b/libgomp/testsuite/libgomp.fortran/examples-4/target_data-7.f90 index 2ddac9e4665..8fc5832ee86 100644 --- a/libgomp/testsuite/libgomp.fortran/examples-4/target_data-7.f90 +++ b/libgomp/testsuite/libgomp.fortran/examples-4/target_data-7.f90 @@ -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 |