mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-05 10:30:55 +08:00
libgomp: Skip hsa offloading for OpenACC test cases
libgomp/ * testsuite/lib/libgomp.exp: Skip hsa offloading for OpenACC test cases. From-SVN: r233073
This commit is contained in:
parent
033ff3d130
commit
1a06f5e6a3
@ -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)
|
||||
|
@ -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"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user