]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
libgomp: Skip hsa offloading for OpenACC test cases
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 2 Feb 2016 12:48:41 +0000 (13:48 +0100)
committerThomas Schwinge <tschwinge@gcc.gnu.org>
Tue, 2 Feb 2016 12:48:41 +0000 (13:48 +0100)
libgomp/
* testsuite/lib/libgomp.exp: Skip hsa offloading for OpenACC test
cases.

From-SVN: r233073

libgomp/ChangeLog
libgomp/testsuite/lib/libgomp.exp

index 806e23d642874734663c3cee3f692505081dbe53..6c9bf6ac43d57038d121a95f8da47cbd4048af91 100644 (file)
@@ -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)
index bb9b15f3a41ca59c318af81d119e89c07546bd01..a4c9d834e461aa96cebb15ac90e07668d98da297 100644 (file)
@@ -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"
 }