[llvm] [Offload] XFAIL four tests while working on fix (PR #98899)

via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 15 06:34:21 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-offload

@llvm/pr-subscribers-backend-amdgpu

Author: Jan Patrick Lehr (jplehr)

<details>
<summary>Changes</summary>

omp_dynamic_shared_memory_mixed_amdgpu.c
omp_dynamic_shared_memory_amdgpu.c
amdgcn-amd-amdhsa::bug51982.c
amdgcn-amd-amdhsa::bug51781.c

---
Full diff: https://github.com/llvm/llvm-project/pull/98899.diff


4 Files Affected:

- (modified) offload/test/api/omp_dynamic_shared_memory_amdgpu.c (+1) 
- (modified) offload/test/api/omp_dynamic_shared_memory_mixed_amdgpu.c (+1) 
- (modified) offload/test/offloading/bug51781.c (+1) 
- (modified) offload/test/offloading/bug51982.c (+1) 


``````````diff
diff --git a/offload/test/api/omp_dynamic_shared_memory_amdgpu.c b/offload/test/api/omp_dynamic_shared_memory_amdgpu.c
index 0b4d9d6ea9d46..dd4d59257714b 100644
--- a/offload/test/api/omp_dynamic_shared_memory_amdgpu.c
+++ b/offload/test/api/omp_dynamic_shared_memory_amdgpu.c
@@ -2,6 +2,7 @@
 // RUN: env LIBOMPTARGET_SHARED_MEMORY_SIZE=256 \
 // RUN:   %libomptarget-run-amdgcn-amd-amdhsa | %fcheck-amdgcn-amd-amdhsa
 // REQUIRES: amdgcn-amd-amdhsa
+// XFAIL: amdgcn-amd-amdhsa
 
 #include <omp.h>
 #include <stdio.h>
diff --git a/offload/test/api/omp_dynamic_shared_memory_mixed_amdgpu.c b/offload/test/api/omp_dynamic_shared_memory_mixed_amdgpu.c
index 656c3a20aaf82..844c25dc9e025 100644
--- a/offload/test/api/omp_dynamic_shared_memory_mixed_amdgpu.c
+++ b/offload/test/api/omp_dynamic_shared_memory_mixed_amdgpu.c
@@ -2,6 +2,7 @@
 // RUN: env LIBOMPTARGET_NEXTGEN_PLUGINS=1 \
 // RUN:   %libomptarget-run-amdgcn-amd-amdhsa | %fcheck-amdgcn-amd-amdhsa
 // REQUIRES: amdgcn-amd-amdhsa
+// XFAIL: amdgcn-amd-amdhsa
 
 #include "omp_dynamic_shared_memory_mixed.inc"
 // CHECK: PASS
diff --git a/offload/test/offloading/bug51781.c b/offload/test/offloading/bug51781.c
index 35ecf55aa8c53..237e1585455c5 100644
--- a/offload/test/offloading/bug51781.c
+++ b/offload/test/offloading/bug51781.c
@@ -31,6 +31,7 @@
 // RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic
 //
 // CUSTOM: Rewriting generic-mode kernel with a customized state machine.
+// XFAIL: amdgcn-amd-amdhsa
 
 #if ADD_REDUCTION
 #define REDUCTION(...) reduction(__VA_ARGS__)
diff --git a/offload/test/offloading/bug51982.c b/offload/test/offloading/bug51982.c
index 91ce4a264e238..c037d215a8a79 100644
--- a/offload/test/offloading/bug51982.c
+++ b/offload/test/offloading/bug51982.c
@@ -1,6 +1,7 @@
 // RUN: %libomptarget-compile-generic -O1 && %libomptarget-run-generic
 // -O1 to run openmp-opt
 // RUN: %libomptarget-compileopt-generic -O1 && %libomptarget-run-generic
+// XFAIL: amdgcn-amd-amdhsa
 
 int main(void) {
   long int aa = 0;

``````````

</details>


https://github.com/llvm/llvm-project/pull/98899


More information about the llvm-commits mailing list