[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.

From-SVN: r234046
This commit is contained in:
Martin Jambor 2016-03-07 19:42:33 +01:00 committed by Martin Jambor
parent 45548f30c6
commit 02e0b5b245
11 changed files with 24 additions and 10 deletions

View File

@ -1,3 +1,17 @@
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

View 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>

View 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>

View 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>

View 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>

View 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>

View 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

View 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

View 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

View 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

View 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