Skip to content

Commit

Permalink
[Libomptarget] Fix tests after previous patch
Browse files Browse the repository at this point in the history
Summary:
The previous patch didn't remove these tests correctly.
  • Loading branch information
jhuber6 committed Jan 30, 2023
1 parent 94c4499 commit 292eca4
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 15 deletions.
2 changes: 0 additions & 2 deletions openmp/libomptarget/plugins/amdgpu/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ set_target_properties(omptarget.rtl.amdgpu PROPERTIES
option(LIBOMPTARGET_FORCE_AMDGPU_TESTS "Build AMDGPU libomptarget tests" OFF)
if (LIBOMPTARGET_FOUND_AMDGPU_GPU OR LIBOMPTARGET_FORCE_AMDGPU_TESTS)
# Report to the parent scope that we are building a plugin for amdgpu
set(LIBOMPTARGET_SYSTEM_TARGETS "${LIBOMPTARGET_SYSTEM_TARGETS} amdgcn-amd-amdhsa amdgcn-amd-amdhsa-oldDriver" PARENT_SCOPE)
set(LIBOMPTARGET_SYSTEM_TARGETS "${LIBOMPTARGET_SYSTEM_TARGETS} amdgcn-amd-amdhsa amdgcn-amd-amdhsa-LTO" PARENT_SCOPE)
list(APPEND LIBOMPTARGET_TESTED_PLUGINS "omptarget.rtl.amdgpu")
set(LIBOMPTARGET_TESTED_PLUGINS "${LIBOMPTARGET_TESTED_PLUGINS}" PARENT_SCOPE)
else()
Expand Down
1 change: 0 additions & 1 deletion openmp/libomptarget/test/mapping/data_member_ref.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

// Wrong results on amdgpu
// XFAIL: amdgcn-amd-amdhsa
// XFAIL: amdgcn-amd-amdhsa-LTO

#include <stdio.h>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

// Wrong results on amdgpu
// XFAIL: amdgcn-amd-amdhsa
// XFAIL: amdgcn-amd-amdhsa-LTO

#include <cstdio>
#include <cstdlib>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

// Wrong results on amdgpu
// XFAIL: amdgcn-amd-amdhsa
// XFAIL: amdgcn-amd-amdhsa-LTO

#include <cstdio>
#include <cstdlib>
Expand Down
1 change: 0 additions & 1 deletion openmp/libomptarget/test/mapping/lambda_by_value.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

// Wrong results on amdgpu
// XFAIL: amdgcn-amd-amdhsa
// XFAIL: amdgcn-amd-amdhsa-LTO

#include <stdint.h>
#include <stdio.h>
Expand Down
1 change: 0 additions & 1 deletion openmp/libomptarget/test/mapping/lambda_mapping.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

// Error on the gpu that crashes the host
// UNSUPPORTED: amdgcn-amd-amdhsa
// UNSUPPORTED: amdgcn-amd-amdhsa-LTO

#include <iostream>

Expand Down
1 change: 0 additions & 1 deletion openmp/libomptarget/test/mapping/ompx_hold/struct.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

// Wrong results on amdgpu
// XFAIL: amdgcn-amd-amdhsa
// XFAIL: amdgcn-amd-amdhsa-LTO

#include <omp.h>
#include <stdio.h>
Expand Down
1 change: 0 additions & 1 deletion openmp/libomptarget/test/mapping/target_has_device_addr.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
// RUN: | %fcheck-generic

// UNSUPPORTED: amdgcn-amd-amdhsa
// UNSUPPORTED: amdgcn-amd-amdhsa-LTO

#include <omp.h>
#include <stdio.h>
Expand Down
1 change: 0 additions & 1 deletion openmp/libomptarget/test/offloading/bug49779.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// RUN: env LIBOMPTARGET_STACK_SIZE=2048 %libomptarget-run-generic

// UNSUPPORTED: amdgcn-amd-amdhsa
// UNSUPPORTED: amdgcn-amd-amdhsa-LTO

#include <cassert>
#include <iostream>
Expand Down
1 change: 0 additions & 1 deletion openmp/libomptarget/test/offloading/bug51781.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@

// Hangs
// UNSUPPORTED: amdgcn-amd-amdhsa
// UNSUPPORTED: amdgcn-amd-amdhsa-LTO

#if ADD_REDUCTION
#define REDUCTION(...) reduction(__VA_ARGS__)
Expand Down
1 change: 0 additions & 1 deletion openmp/libomptarget/test/offloading/host_as_target.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

// amdgpu does not have a working printf definition
// XFAIL: amdgcn-amd-amdhsa
// XFAIL: amdgcn-amd-amdhsa-LTO

#include <omp.h>
#include <stdio.h>
Expand Down
2 changes: 0 additions & 2 deletions openmp/libomptarget/test/offloading/wtime.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// RUN: %libomptarget-compileopt-run-and-check-generic

// UNSUPPORTED: amdgcn-amd-amdhsa
// UNSUPPORTED: amdgcn-amd-amdhsa-oldDriver
// UNSUPPORTED: amdgcn-amd-amdhsa-LTO

#include <omp.h>
#include <stdio.h>
Expand Down
1 change: 0 additions & 1 deletion openmp/libomptarget/test/unified_shared_memory/api.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

// Fails on amdgpu with error: GPU Memory Error
// UNSUPPORTED: amdgcn-amd-amdhsa
// UNSUPPORTED: amdgcn-amd-amdhsa-LTO

#include <omp.h>
#include <stdio.h>
Expand Down

0 comments on commit 292eca4

Please sign in to comment.