Commit 1a06f5e6 by Thomas Schwinge Committed by Thomas Schwinge

libgomp: Skip hsa offloading for OpenACC test cases

	libgomp/
	* testsuite/lib/libgomp.exp: Skip hsa offloading for OpenACC test
	cases.

From-SVN: r233073
parent 033ff3d1
2016-02-02 Thomas Schwinge <thomas@codesourcery.com> 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 * plugin/configfrag.ac (HSA_KMT_LIB, HSA_KMT_LDFLAGS): New
variables. variables.
* testsuite/libgomp-test-support.exp.in (hsa_runtime_lib) * testsuite/libgomp-test-support.exp.in (hsa_runtime_lib)
......
...@@ -42,15 +42,17 @@ load_file libgomp-test-support.exp ...@@ -42,15 +42,17 @@ load_file libgomp-test-support.exp
set offload_targets_s [split $offload_targets ","] set offload_targets_s [split $offload_targets ","]
set offload_targets_s_openacc {} set offload_targets_s_openacc {}
foreach offload_target_openacc $offload_targets_s { foreach offload_target_openacc $offload_targets_s {
# Translate to OpenACC names, or skip if not yet supported.
switch $offload_target_openacc { switch $offload_target_openacc {
intelmic { intelmic {
# Skip; will all FAIL because of missing
# GOMP_OFFLOAD_CAP_OPENACC_200.
continue continue
} }
nvptx { nvptx {
set offload_target_openacc "nvidia" set offload_target_openacc "nvidia"
} }
hsa {
continue
}
} }
lappend offload_targets_s_openacc "$offload_target_openacc" lappend offload_targets_s_openacc "$offload_target_openacc"
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment