[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:
parent
45548f30c6
commit
02e0b5b245
@ -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
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user