Skip to content

Commit 1a87a18

Browse files
[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
1 parent 4a419ea commit 1a87a18

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openmp/libomptarget/test/lit.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ if config.libomptarget_current_target.startswith('nvptx'):
7878
except ValueError:
7979
# If the architecture is invalid, assume it is supported.
8080
supports_unified_shared_memory = True
81+
if config.libomptarget_current_target.startswith('amdgcn'):
82+
supports_unified_shared_memory = False
8183
if supports_unified_shared_memory:
8284
config.available_features.add('unified_shared_memory')
8385

0 commit comments

Comments
 (0)