[llvm] [Offload] XFAIL four tests while working on fix (PR #98899)
Jan Patrick Lehr via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 15 06:33:52 PDT 2024
https://github.com/jplehr created https://github.com/llvm/llvm-project/pull/98899
omp_dynamic_shared_memory_mixed_amdgpu.c
omp_dynamic_shared_memory_amdgpu.c
amdgcn-amd-amdhsa::bug51982.c
amdgcn-amd-amdhsa::bug51781.c
>From 6cb954bd051e87eef91301875574a71b53ca1941 Mon Sep 17 00:00:00 2001
From: JP Lehr <JanPatrick.Lehr at amd.com>
Date: Mon, 15 Jul 2024 08:31:37 -0500
Subject: [PATCH] [Offload] XFAIL four tests while working on fix
omp_dynamic_shared_memory_mixed_amdgpu.c
omp_dynamic_shared_memory_amdgpu.c
amdgcn-amd-amdhsa::bug51982.c
amdgcn-amd-amdhsa::bug51781.c
---
offload/test/api/omp_dynamic_shared_memory_amdgpu.c | 1 +
offload/test/api/omp_dynamic_shared_memory_mixed_amdgpu.c | 1 +
offload/test/offloading/bug51781.c | 1 +
offload/test/offloading/bug51982.c | 1 +
4 files changed, 4 insertions(+)
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;
More information about the llvm-commits
mailing list