diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2016-02-02 13:48:41 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gcc.gnu.org> | 2016-02-02 13:48:41 +0100 |
commit | 1a06f5e6a34797a74e86d2d76369eb9d78c4c538 (patch) | |
tree | f3b6f3f58ee5ee972f2bb850ccddb256e21bcdec | |
parent | 033ff3d1302e18505f9d4fea5b60bde5b85a3fe1 (diff) | |
download | gcc-1a06f5e6a34797a74e86d2d76369eb9d78c4c538.zip gcc-1a06f5e6a34797a74e86d2d76369eb9d78c4c538.tar.gz gcc-1a06f5e6a34797a74e86d2d76369eb9d78c4c538.tar.bz2 |
libgomp: Skip hsa offloading for OpenACC test cases
libgomp/
* testsuite/lib/libgomp.exp: Skip hsa offloading for OpenACC test
cases.
From-SVN: r233073
-rw-r--r-- | libgomp/ChangeLog | 3 | ||||
-rw-r--r-- | libgomp/testsuite/lib/libgomp.exp | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/libgomp/ChangeLog b/libgomp/ChangeLog index 806e23d..6c9bf6a 100644 --- a/libgomp/ChangeLog +++ b/libgomp/ChangeLog @@ -1,5 +1,8 @@ 2016-02-02 Thomas Schwinge <thomas@codesourcery.com> + * testsuite/lib/libgomp.exp: Skip hsa offloading for OpenACC test + cases. + * plugin/configfrag.ac (HSA_KMT_LIB, HSA_KMT_LDFLAGS): New variables. * testsuite/libgomp-test-support.exp.in (hsa_runtime_lib) diff --git a/libgomp/testsuite/lib/libgomp.exp b/libgomp/testsuite/lib/libgomp.exp index bb9b15f..a4c9d83 100644 --- a/libgomp/testsuite/lib/libgomp.exp +++ b/libgomp/testsuite/lib/libgomp.exp @@ -42,15 +42,17 @@ load_file libgomp-test-support.exp set offload_targets_s [split $offload_targets ","] set offload_targets_s_openacc {} foreach offload_target_openacc $offload_targets_s { + # Translate to OpenACC names, or skip if not yet supported. switch $offload_target_openacc { intelmic { - # Skip; will all FAIL because of missing - # GOMP_OFFLOAD_CAP_OPENACC_200. continue } nvptx { set offload_target_openacc "nvidia" } + hsa { + continue + } } lappend offload_targets_s_openacc "$offload_target_openacc" } |