[Openmp-commits] [openmp] 1a87a18 - [openmp][amdgpu] Disable tests requiring USM on amdgcn
Jon Chesterfield via Openmp-commits
openmp-commits at lists.llvm.org
Mon Dec 6 05:25:33 PST 2021
Author: Jon Chesterfield
Date: 2021-12-06T13:25:23Z
New Revision: 1a87a1895597226ca655086b7f6972069eca0de1
URL: https://github.com/llvm/llvm-project/commit/1a87a1895597226ca655086b7f6972069eca0de1
DIFF: https://github.com/llvm/llvm-project/commit/1a87a1895597226ca655086b7f6972069eca0de1.diff
LOG: [openmp][amdgpu] Disable tests requiring USM on amdgcn
These tests tend to hang or crash on hardware that doesn't
support USM. Disabling them helps diagnose other issues. To safely
enable we require a means of testing whether USM is expected to work.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D115144
Added:
Modified:
openmp/libomptarget/test/lit.cfg
Removed:
################################################################################
diff --git a/openmp/libomptarget/test/lit.cfg b/openmp/libomptarget/test/lit.cfg
index f0e106c1d2e82..3c3133f14312c 100644
--- a/openmp/libomptarget/test/lit.cfg
+++ b/openmp/libomptarget/test/lit.cfg
@@ -78,6 +78,8 @@ if config.libomptarget_current_target.startswith('nvptx'):
except ValueError:
# If the architecture is invalid, assume it is supported.
supports_unified_shared_memory = True
+if config.libomptarget_current_target.startswith('amdgcn'):
+ supports_unified_shared_memory = False
if supports_unified_shared_memory:
config.available_features.add('unified_shared_memory')
More information about the Openmp-commits
mailing list