Skip to content

Commit 52556c3

Browse files
committed
[Libomptarget] Make unified shared memory test unsupported on AMDGPU
This test is an expected failure on AMDGPU. The expected failure is a GPU memory failure, which will typically result in the device totally failing. This isn't an issue for some GPU configurations that do not use the offloading device to also drive the display server. However, if the main GPU is used for testing it will reliably result in the user's display becoming unresponsive. This makes it difficult to run the GPU offloading tests on many systems. This patch simply makes this test unsupported so it no longer runs and freezes my computer when using `ninja check-openmp`. Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D132891
1 parent 3a0309c commit 52556c3

File tree

1 file changed

+2
-2
lines changed
  • openmp/libomptarget/test/unified_shared_memory

1 file changed

+2
-2
lines changed

openmp/libomptarget/test/unified_shared_memory/api.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
// XFAIL: nvptx64-nvidia-cuda-LTO
44

55
// Fails on amdgpu with error: GPU Memory Error
6-
// XFAIL: amdgcn-amd-amdhsa
7-
// XFAIL: amdgcn-amd-amdhsa-LTO
6+
// UNSUPPORTED: amdgcn-amd-amdhsa
7+
// UNSUPPORTED: amdgcn-amd-amdhsa-LTO
88

99
#include <stdio.h>
1010
#include <omp.h>

0 commit comments

Comments
 (0)