diff --git a/offload/test/api/assert.c b/offload/test/api/assert.c index 9a9e770f1962..7ea7b95273cc 100644 --- a/offload/test/api/assert.c +++ b/offload/test/api/assert.c @@ -1,5 +1,6 @@ // RUN: %libomptarget-compile-run-and-check-generic // RUN: %libomptarget-compileopt-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/api/omp_device_alloc.c b/offload/test/api/omp_device_alloc.c index 0f4499d0efaf..2758fb948622 100644 --- a/offload/test/api/omp_device_alloc.c +++ b/offload/test/api/omp_device_alloc.c @@ -2,6 +2,7 @@ // UNSUPPORTED: nvidiagpu // UNSUPPORTED: amdgpu +// XFAIL: intelgpu #include #include diff --git a/offload/test/api/omp_device_managed_memory.c b/offload/test/api/omp_device_managed_memory.c index 2a9fe09a8334..b0f34a4209af 100644 --- a/offload/test/api/omp_device_managed_memory.c +++ b/offload/test/api/omp_device_managed_memory.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/api/omp_device_managed_memory_alloc.c b/offload/test/api/omp_device_managed_memory_alloc.c index c48866922deb..fcacd4015ca4 100644 --- a/offload/test/api/omp_device_managed_memory_alloc.c +++ b/offload/test/api/omp_device_managed_memory_alloc.c @@ -1,5 +1,6 @@ // RUN: %libomptarget-compile-run-and-check-generic // RUN: %libomptarget-compileopt-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/api/omp_device_memory.c b/offload/test/api/omp_device_memory.c index 8876fc91ba40..b1b58b100521 100644 --- a/offload/test/api/omp_device_memory.c +++ b/offload/test/api/omp_device_memory.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/api/omp_device_uid.c b/offload/test/api/omp_device_uid.c index 2a41d8d04ef8..9cef5f9667b8 100644 --- a/offload/test/api/omp_device_uid.c +++ b/offload/test/api/omp_device_uid.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/api/omp_dynamic_shared_memory.c b/offload/test/api/omp_dynamic_shared_memory.c index 76f625f07bfa..e12b97d34edb 100644 --- a/offload/test/api/omp_dynamic_shared_memory.c +++ b/offload/test/api/omp_dynamic_shared_memory.c @@ -7,6 +7,7 @@ // RUN: %libomptarget-run-generic | %fcheck-generic // REQUIRES: gpu +// XFAIL: intelgpu #include #include diff --git a/offload/test/api/omp_env_vars.c b/offload/test/api/omp_env_vars.c index a8a574be8c84..9ee5e68dec02 100644 --- a/offload/test/api/omp_env_vars.c +++ b/offload/test/api/omp_env_vars.c @@ -2,6 +2,7 @@ // RUN: env OMP_NUM_TEAMS=1 OMP_TEAMS_THREAD_LIMIT=1 LIBOMPTARGET_INFO=16 \ // RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic // REQUIRES: gpu +// XFAIL: intelgpu #define N 256 diff --git a/offload/test/api/omp_get_device_num.c b/offload/test/api/omp_get_device_num.c index 31e13b0050d4..ca82004f7e0a 100644 --- a/offload/test/api/omp_get_device_num.c +++ b/offload/test/api/omp_get_device_num.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/api/omp_get_mapped_ptr.c b/offload/test/api/omp_get_mapped_ptr.c index a8e11f912d66..4436c02259b6 100644 --- a/offload/test/api/omp_get_mapped_ptr.c +++ b/offload/test/api/omp_get_mapped_ptr.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-and-run-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/api/omp_get_num_devices.c b/offload/test/api/omp_get_num_devices.c index e8fbdcd1a1de..9588bff3baa3 100644 --- a/offload/test/api/omp_get_num_devices.c +++ b/offload/test/api/omp_get_num_devices.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/api/omp_get_num_procs.c b/offload/test/api/omp_get_num_procs.c index e958d0cf3492..24222d32983b 100644 --- a/offload/test/api/omp_get_num_procs.c +++ b/offload/test/api/omp_get_num_procs.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include diff --git a/offload/test/api/omp_host_call.c b/offload/test/api/omp_host_call.c index 40d3dc725829..19f4f666cf98 100644 --- a/offload/test/api/omp_host_call.c +++ b/offload/test/api/omp_host_call.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/api/omp_host_pinned_memory.c b/offload/test/api/omp_host_pinned_memory.c index 7a6a00d489d5..fe6f227131e1 100644 --- a/offload/test/api/omp_host_pinned_memory.c +++ b/offload/test/api/omp_host_pinned_memory.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/api/omp_host_pinned_memory_alloc.c b/offload/test/api/omp_host_pinned_memory_alloc.c index fa3e2455d371..4dff6dfa0ffc 100644 --- a/offload/test/api/omp_host_pinned_memory_alloc.c +++ b/offload/test/api/omp_host_pinned_memory_alloc.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/api/omp_indirect_call.c b/offload/test/api/omp_indirect_call.c index ac0febf7854d..b3e98d56a770 100644 --- a/offload/test/api/omp_indirect_call.c +++ b/offload/test/api/omp_indirect_call.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/api/omp_indirect_call_table_manual.c b/offload/test/api/omp_indirect_call_table_manual.c index e958d47d69da..8a7b23fa3fd8 100644 --- a/offload/test/api/omp_indirect_call_table_manual.c +++ b/offload/test/api/omp_indirect_call_table_manual.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include #include diff --git a/offload/test/api/ompx_3d.c b/offload/test/api/ompx_3d.c index 2ae17c226f3a..a2cae05d4566 100644 --- a/offload/test/api/ompx_3d.c +++ b/offload/test/api/ompx_3d.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/api/ompx_3d.cpp b/offload/test/api/ompx_3d.cpp index 5b5491263a91..9fa29bb3ddf6 100644 --- a/offload/test/api/ompx_3d.cpp +++ b/offload/test/api/ompx_3d.cpp @@ -1,4 +1,5 @@ // RUN: %libomptarget-compilexx-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/api/ompx_sync.c b/offload/test/api/ompx_sync.c index b71eba43f553..cf590d972204 100644 --- a/offload/test/api/ompx_sync.c +++ b/offload/test/api/ompx_sync.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/api/ompx_sync.cpp b/offload/test/api/ompx_sync.cpp index c6e17103459d..499eeecc7594 100644 --- a/offload/test/api/ompx_sync.cpp +++ b/offload/test/api/ompx_sync.cpp @@ -1,4 +1,5 @@ // RUN: %libomptarget-compilexx-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/env/base_ptr_ref_count.c b/offload/test/env/base_ptr_ref_count.c index 9a1556871280..f4361fbd8347 100644 --- a/offload/test/env/base_ptr_ref_count.c +++ b/offload/test/env/base_ptr_ref_count.c @@ -1,5 +1,8 @@ +// clang-format off // RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 | %fcheck-generic // REQUIRES: libomptarget-debug +// XFAIL: intelgpu +// clang-format on #include #include diff --git a/offload/test/env/omp_target_debug.c b/offload/test/env/omp_target_debug.c index ec81873a091f..d63e71388fdf 100644 --- a/offload/test/env/omp_target_debug.c +++ b/offload/test/env/omp_target_debug.c @@ -1,6 +1,9 @@ +// clang-format off // RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 | %fcheck-generic -allow-empty -check-prefix=DEBUG // RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=0 %libomptarget-run-generic 2>&1 | %fcheck-generic -allow-empty -check-prefix=NDEBUG // REQUIRES: libomptarget-debug +// XFAIL: intelgpu +// clang-format on int main(void) { #pragma omp target diff --git a/offload/test/jit/empty_kernel_lvl1.c b/offload/test/jit/empty_kernel_lvl1.c index 812d5c1f4631..0bf1675e437b 100644 --- a/offload/test/jit/empty_kernel_lvl1.c +++ b/offload/test/jit/empty_kernel_lvl1.c @@ -29,5 +29,6 @@ // clang-format on // REQUIRES: gpu +// XFAIL: intelgpu #include "empty_kernel.inc" diff --git a/offload/test/jit/empty_kernel_lvl2.c b/offload/test/jit/empty_kernel_lvl2.c index 9e2ef17a42fb..98859aa87fe8 100644 --- a/offload/test/jit/empty_kernel_lvl2.c +++ b/offload/test/jit/empty_kernel_lvl2.c @@ -24,5 +24,6 @@ // clang-format on // REQUIRES: gpu +// XFAIL: intelgpu #include "empty_kernel.inc" diff --git a/offload/test/jit/type_punning.c b/offload/test/jit/type_punning.c index 574168b8a69c..49e95feac251 100644 --- a/offload/test/jit/type_punning.c +++ b/offload/test/jit/type_punning.c @@ -9,6 +9,7 @@ // clang-format on // REQUIRES: gpu +// XFAIL: intelgpu // Ensure that there is only the kernel function left, not any outlined // parallel regions. diff --git a/offload/test/libc/malloc_parallel.c b/offload/test/libc/malloc_parallel.c index 076a7ba397a3..42f776826ba0 100644 --- a/offload/test/libc/malloc_parallel.c +++ b/offload/test/libc/malloc_parallel.c @@ -1,5 +1,6 @@ // RUN: %libomptarget-compile-run-and-check-generic // RUN: %libomptarget-compileopt-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/lit.cfg b/offload/test/lit.cfg index 6f54cbe8064d..ee2b585e11ef 100644 --- a/offload/test/lit.cfg +++ b/offload/test/lit.cfg @@ -199,6 +199,9 @@ if config.libomptarget_current_target.startswith('nvptx'): if config.libomptarget_current_target.startswith('amdgcn'): config.available_features.add('gpu') config.available_features.add('amdgpu') +if config.libomptarget_current_target.startswith('spirv64-intel'): + config.available_features.add('gpu') + config.available_features.add('intelgpu') if config.libomptarget_current_target in host_targets: config.available_features.add('host') @@ -213,6 +216,9 @@ def remove_suffix_if_present(name): def add_libraries(source): if "gpu" not in config.available_features: return source + if "intelgpu" in config.available_features: + # There is no DeviceRTL for Intel yet and libc doesn't work. + return source if config.libomptarget_has_libc: return source + " -Xoffload-linker -lc " + \ "-Xoffload-linker -lm " + \ diff --git a/offload/test/mapping/array_section_implicit_capture.c b/offload/test/mapping/array_section_implicit_capture.c index 1042bd23bd5e..fae18112763e 100644 --- a/offload/test/mapping/array_section_implicit_capture.c +++ b/offload/test/mapping/array_section_implicit_capture.c @@ -1,6 +1,7 @@ // RUN: %libomptarget-compile-generic // RUN: %libomptarget-run-generic 2>&1 \ // RUN: | %fcheck-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/chained_containing_structs_1.cc b/offload/test/mapping/chained_containing_structs_1.cc index c9a09bb657be..e98d7fe1f975 100644 --- a/offload/test/mapping/chained_containing_structs_1.cc +++ b/offload/test/mapping/chained_containing_structs_1.cc @@ -1,4 +1,5 @@ // RUN: %libomptarget-compilexx-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/chained_containing_structs_2.cc b/offload/test/mapping/chained_containing_structs_2.cc index 272b0ebaa7c9..ed959dd6c495 100644 --- a/offload/test/mapping/chained_containing_structs_2.cc +++ b/offload/test/mapping/chained_containing_structs_2.cc @@ -1,4 +1,5 @@ // RUN: %libomptarget-compilexx-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/chained_containing_structs_3.cc b/offload/test/mapping/chained_containing_structs_3.cc index 763c9760918e..95692e67a83b 100644 --- a/offload/test/mapping/chained_containing_structs_3.cc +++ b/offload/test/mapping/chained_containing_structs_3.cc @@ -1,4 +1,5 @@ // RUN: %libomptarget-compilexx-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/data_member_ref.cpp b/offload/test/mapping/data_member_ref.cpp index 7947a62c169f..2b5f978b6040 100644 --- a/offload/test/mapping/data_member_ref.cpp +++ b/offload/test/mapping/data_member_ref.cpp @@ -1,4 +1,5 @@ // RUN: %libomptarget-compilexx-run-and-check-generic +// XFAIL: intelgpu #include diff --git a/offload/test/mapping/declare_mapper_nested_default_mappers.cpp b/offload/test/mapping/declare_mapper_nested_default_mappers.cpp index 45fd042aedb0..2d69f9573ad2 100644 --- a/offload/test/mapping/declare_mapper_nested_default_mappers.cpp +++ b/offload/test/mapping/declare_mapper_nested_default_mappers.cpp @@ -1,4 +1,5 @@ // RUN: %libomptarget-compilexx-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/declare_mapper_nested_default_mappers_1.cpp b/offload/test/mapping/declare_mapper_nested_default_mappers_1.cpp index e300ae452474..f822d08ba1e4 100644 --- a/offload/test/mapping/declare_mapper_nested_default_mappers_1.cpp +++ b/offload/test/mapping/declare_mapper_nested_default_mappers_1.cpp @@ -1,6 +1,7 @@ // RUN: %libomptarget-compilexx-run-and-check-generic // UNSUPPORTED: amdgcn-amd-amdhsa +// XFAIL: intelgpu extern "C" int printf(const char *, ...); diff --git a/offload/test/mapping/declare_mapper_nested_mappers.cpp b/offload/test/mapping/declare_mapper_nested_mappers.cpp index a59ed6980ec4..5d18739bf22e 100644 --- a/offload/test/mapping/declare_mapper_nested_mappers.cpp +++ b/offload/test/mapping/declare_mapper_nested_mappers.cpp @@ -1,4 +1,5 @@ // RUN: %libomptarget-compilexx-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/declare_mapper_target.cpp b/offload/test/mapping/declare_mapper_target.cpp index 4d7237e94657..d1405c23892b 100644 --- a/offload/test/mapping/declare_mapper_target.cpp +++ b/offload/test/mapping/declare_mapper_target.cpp @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/declare_mapper_target_data.cpp b/offload/test/mapping/declare_mapper_target_data.cpp index 7f0984401400..42a678a72683 100644 --- a/offload/test/mapping/declare_mapper_target_data.cpp +++ b/offload/test/mapping/declare_mapper_target_data.cpp @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/declare_mapper_target_data_enter_exit.cpp b/offload/test/mapping/declare_mapper_target_data_enter_exit.cpp index f5fad8b8fe33..00ee19220d6c 100644 --- a/offload/test/mapping/declare_mapper_target_data_enter_exit.cpp +++ b/offload/test/mapping/declare_mapper_target_data_enter_exit.cpp @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/declare_mapper_target_update.cpp b/offload/test/mapping/declare_mapper_target_update.cpp index fe4597b76908..d58a6e8abeae 100644 --- a/offload/test/mapping/declare_mapper_target_update.cpp +++ b/offload/test/mapping/declare_mapper_target_update.cpp @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/delete_inf_refcount.c b/offload/test/mapping/delete_inf_refcount.c index f6016c19b0ff..3379c5126021 100644 --- a/offload/test/mapping/delete_inf_refcount.c +++ b/offload/test/mapping/delete_inf_refcount.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/device_ptr_update.c b/offload/test/mapping/device_ptr_update.c index c6719d2285a2..c7b9e50267c8 100644 --- a/offload/test/mapping/device_ptr_update.c +++ b/offload/test/mapping/device_ptr_update.c @@ -2,6 +2,7 @@ // RUN: env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 \ // RUN: | %fcheck-generic -check-prefix=DEBUG -check-prefix=CHECK // REQUIRES: libomptarget-debug +// XFAIL: intelgpu #include diff --git a/offload/test/mapping/duplicate_mappings_1.cpp b/offload/test/mapping/duplicate_mappings_1.cpp index 5bed3f161b4f..731bff9035d5 100644 --- a/offload/test/mapping/duplicate_mappings_1.cpp +++ b/offload/test/mapping/duplicate_mappings_1.cpp @@ -1,5 +1,6 @@ // clang-format off // RUN: %libomptarget-compilexx-generic -Wno-openmp-mapping && %libomptarget-run-generic +// XFAIL: intelgpu // clang-format on diff --git a/offload/test/mapping/duplicate_mappings_2.cpp b/offload/test/mapping/duplicate_mappings_2.cpp index ca8112ee7254..6ca7d3b55dfb 100644 --- a/offload/test/mapping/duplicate_mappings_2.cpp +++ b/offload/test/mapping/duplicate_mappings_2.cpp @@ -1,5 +1,6 @@ // clang-format off // RUN: %libomptarget-compilexx-generic -Wno-openmp-mapping && %libomptarget-run-generic +// XFAIL: intelgpu #include diff --git a/offload/test/mapping/firstprivate_aligned.cpp b/offload/test/mapping/firstprivate_aligned.cpp index ae6be0f0c07f..bf09eb0b0f58 100644 --- a/offload/test/mapping/firstprivate_aligned.cpp +++ b/offload/test/mapping/firstprivate_aligned.cpp @@ -1,4 +1,5 @@ // RUN: %libomptarget-compilexx-generic -O3 && %libomptarget-run-generic +// XFAIL: intelgpu #include diff --git a/offload/test/mapping/has_device_addr.cpp b/offload/test/mapping/has_device_addr.cpp index 63fa313cf278..e41cbdbd73a3 100644 --- a/offload/test/mapping/has_device_addr.cpp +++ b/offload/test/mapping/has_device_addr.cpp @@ -1,6 +1,7 @@ // RUN: %libomptarget-compilexx-generic -fopenmp-version=51 // RUN: %libomptarget-run-generic 2>&1 \ // RUN: | %fcheck-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/implicit_device_ptr.c b/offload/test/mapping/implicit_device_ptr.c index baa75d21686a..6e32ece82a1c 100644 --- a/offload/test/mapping/implicit_device_ptr.c +++ b/offload/test/mapping/implicit_device_ptr.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/is_accessible.cpp b/offload/test/mapping/is_accessible.cpp index 7fb23893408e..39bc03dbde6c 100644 --- a/offload/test/mapping/is_accessible.cpp +++ b/offload/test/mapping/is_accessible.cpp @@ -8,6 +8,7 @@ // REQUIRES: unified_shared_memory // XFAIL: nvptx +// XFAIL: intelgpu // CHECK: SUCCESS // NO_USM: Not accessible diff --git a/offload/test/mapping/is_device_ptr.cpp b/offload/test/mapping/is_device_ptr.cpp index 6433f822f9d5..40ee0d3aba24 100644 --- a/offload/test/mapping/is_device_ptr.cpp +++ b/offload/test/mapping/is_device_ptr.cpp @@ -1,4 +1,5 @@ // RUN: %libomptarget-compilexx-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/lambda_by_value.cpp b/offload/test/mapping/lambda_by_value.cpp index 4c0278d40592..b4e3f16c295a 100644 --- a/offload/test/mapping/lambda_by_value.cpp +++ b/offload/test/mapping/lambda_by_value.cpp @@ -1,5 +1,6 @@ // RUN: %libomptarget-compileopt-generic -fno-exceptions // RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/low_alignment.c b/offload/test/mapping/low_alignment.c index 615a5a9c3111..71e90b3695a3 100644 --- a/offload/test/mapping/low_alignment.c +++ b/offload/test/mapping/low_alignment.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compilexx-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/map_both_pointer_pointee.c b/offload/test/mapping/map_both_pointer_pointee.c index 1934b702dbba..9ba0e0e5e640 100644 --- a/offload/test/mapping/map_both_pointer_pointee.c +++ b/offload/test/mapping/map_both_pointer_pointee.c @@ -5,6 +5,7 @@ // // FIXME: https://github.com/llvm/llvm-project/issues/161265 // XFAIL: nvidiagpu +// XFAIL: intelgpu #pragma omp declare target int *ptr1; diff --git a/offload/test/mapping/ompx_hold/struct.c b/offload/test/mapping/ompx_hold/struct.c index da2b38028762..0b898d5d3b56 100644 --- a/offload/test/mapping/ompx_hold/struct.c +++ b/offload/test/mapping/ompx_hold/struct.c @@ -1,5 +1,6 @@ // RUN: %libomptarget-compile-generic -fopenmp-extensions // RUN: %libomptarget-run-generic | %fcheck-generic -strict-whitespace +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/ompx_hold/target.c b/offload/test/mapping/ompx_hold/target.c index 40fd14c6bf00..e6ba4961fd90 100644 --- a/offload/test/mapping/ompx_hold/target.c +++ b/offload/test/mapping/ompx_hold/target.c @@ -1,5 +1,6 @@ // RUN: %libomptarget-compile-generic -fopenmp-extensions // RUN: %libomptarget-run-generic | %fcheck-generic -strict-whitespace +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/pr38704.c b/offload/test/mapping/pr38704.c index 72b4a171ccea..612c2683b37c 100644 --- a/offload/test/mapping/pr38704.c +++ b/offload/test/mapping/pr38704.c @@ -3,6 +3,7 @@ // Clang 6.0 doesn't use the new map interface, undefined behavior when // the compiler emits "old" interface code for structures. // UNSUPPORTED: clang-6 +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/prelock.cpp b/offload/test/mapping/prelock.cpp index 330daf775c3b..08de83e8407e 100644 --- a/offload/test/mapping/prelock.cpp +++ b/offload/test/mapping/prelock.cpp @@ -4,6 +4,7 @@ // REQUIRES: gpu // UNSUPPORTED: nvidiagpu // UNSUPPORTED: amdgpu +// XFAIL: intelgpu #include diff --git a/offload/test/mapping/present/target.c b/offload/test/mapping/present/target.c index 4344c42c808f..16cca929b7a6 100644 --- a/offload/test/mapping/present/target.c +++ b/offload/test/mapping/present/target.c @@ -1,6 +1,7 @@ // RUN: %libomptarget-compile-generic // RUN: %libomptarget-run-fail-generic 2>&1 \ // RUN: | %fcheck-generic +// XFAIL: intelgpu #include diff --git a/offload/test/mapping/present/target_array_extension.c b/offload/test/mapping/present/target_array_extension.c index 873b2b36170e..ef64930b27d5 100644 --- a/offload/test/mapping/present/target_array_extension.c +++ b/offload/test/mapping/present/target_array_extension.c @@ -15,6 +15,7 @@ // RUN: -DEXTENDS=AFTER // RUN: %libomptarget-run-fail-generic 2>&1 \ // RUN: | %fcheck-generic +// XFAIL: intelgpu // END. diff --git a/offload/test/mapping/present/unified_shared_memory.c b/offload/test/mapping/present/unified_shared_memory.c index ab6e3bd0e5fa..31d909852c00 100644 --- a/offload/test/mapping/present/unified_shared_memory.c +++ b/offload/test/mapping/present/unified_shared_memory.c @@ -3,6 +3,7 @@ // RUN: | %fcheck-generic // REQUIRES: unified_shared_memory +// XFAIL: intelgpu #include diff --git a/offload/test/mapping/present/zero_length_array_section.c b/offload/test/mapping/present/zero_length_array_section.c index e903a268ef33..a614043b6207 100644 --- a/offload/test/mapping/present/zero_length_array_section.c +++ b/offload/test/mapping/present/zero_length_array_section.c @@ -1,6 +1,7 @@ // RUN: %libomptarget-compile-generic // RUN: %libomptarget-run-fail-generic 2>&1 \ // RUN: | %fcheck-generic +// XFAIL: intelgpu #include diff --git a/offload/test/mapping/private_mapping.c b/offload/test/mapping/private_mapping.c index 1329a66a5da3..84bd5f1dbcf0 100644 --- a/offload/test/mapping/private_mapping.c +++ b/offload/test/mapping/private_mapping.c @@ -1,5 +1,6 @@ // RUN: %libomptarget-compile-run-and-check-generic // UNSUPPORTED: amdgcn-amd-amdhsa +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/ptr_and_obj_motion.c b/offload/test/mapping/ptr_and_obj_motion.c index a94c07aadc1b..6a5f16eb8f30 100644 --- a/offload/test/mapping/ptr_and_obj_motion.c +++ b/offload/test/mapping/ptr_and_obj_motion.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include diff --git a/offload/test/mapping/reduction_implicit_map.cpp b/offload/test/mapping/reduction_implicit_map.cpp index 329aa43ddf3c..d621be142259 100644 --- a/offload/test/mapping/reduction_implicit_map.cpp +++ b/offload/test/mapping/reduction_implicit_map.cpp @@ -1,4 +1,5 @@ // RUN: %libomptarget-compilexx-run-and-check-generic +// XFAIL: intelgpu #include diff --git a/offload/test/mapping/target_data_array_extension_at_exit.c b/offload/test/mapping/target_data_array_extension_at_exit.c index e300c800b255..cfb09a98e06f 100644 --- a/offload/test/mapping/target_data_array_extension_at_exit.c +++ b/offload/test/mapping/target_data_array_extension_at_exit.c @@ -15,6 +15,7 @@ // RUN: -DEXTENDS=AFTER // RUN: %libomptarget-run-generic 2>&1 \ // RUN: | %fcheck-generic +// XFAIL: intelgpu // END. diff --git a/offload/test/mapping/target_derefence_array_pointrs.cpp b/offload/test/mapping/target_derefence_array_pointrs.cpp index d213c8744363..ed3c1ed17b24 100644 --- a/offload/test/mapping/target_derefence_array_pointrs.cpp +++ b/offload/test/mapping/target_derefence_array_pointrs.cpp @@ -6,6 +6,7 @@ // UNSUPPORTED: amdgcn-amd-amdhsa // UNSUPPORTED: nvptx64-nvidia-cuda // UNSUPPORTED: nvptx64-nvidia-cuda-LTO +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/target_has_device_addr.c b/offload/test/mapping/target_has_device_addr.c index f238832c4405..5bff5168d447 100644 --- a/offload/test/mapping/target_has_device_addr.c +++ b/offload/test/mapping/target_has_device_addr.c @@ -3,6 +3,7 @@ // RUN: | %fcheck-generic // UNSUPPORTED: amdgcn-amd-amdhsa +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/target_implicit_partial_map.c b/offload/test/mapping/target_implicit_partial_map.c index a8b2cc893df2..e2e120d4089b 100644 --- a/offload/test/mapping/target_implicit_partial_map.c +++ b/offload/test/mapping/target_implicit_partial_map.c @@ -1,6 +1,7 @@ // RUN: %libomptarget-compile-generic // RUN: %libomptarget-run-generic 2>&1 \ // RUN: | %fcheck-generic +// XFAIL: intelgpu // END. diff --git a/offload/test/mapping/target_map_for_member_data.cpp b/offload/test/mapping/target_map_for_member_data.cpp index fafff6b18a2b..9f2adc29d667 100644 --- a/offload/test/mapping/target_map_for_member_data.cpp +++ b/offload/test/mapping/target_map_for_member_data.cpp @@ -1,6 +1,7 @@ // RUN: %libomptarget-compile-generic -fopenmp-version=51 // RUN: %libomptarget-run-generic 2>&1 \ // RUN: | %fcheck-generic +// XFAIL: intelgpu extern "C" int printf(const char *, ...); template class A { diff --git a/offload/test/mapping/target_uses_allocator.c b/offload/test/mapping/target_uses_allocator.c index c0d71b22733b..0e81f5606f57 100755 --- a/offload/test/mapping/target_uses_allocator.c +++ b/offload/test/mapping/target_uses_allocator.c @@ -4,6 +4,7 @@ // UNSUPPORTED: amdgcn-amd-amdhsa // UNSUPPORTED: nvptx64-nvidia-cuda // UNSUPPORTED: nvptx64-nvidia-cuda-LTO +// XFAIL: intelgpu #include #include diff --git a/offload/test/mapping/use_device_addr/target_use_device_addr.c b/offload/test/mapping/use_device_addr/target_use_device_addr.c index 4a9dbe252f76..00a323f0499d 100644 --- a/offload/test/mapping/use_device_addr/target_use_device_addr.c +++ b/offload/test/mapping/use_device_addr/target_use_device_addr.c @@ -1,6 +1,7 @@ // RUN: %libomptarget-compile-generic -fopenmp-version=51 // RUN: %libomptarget-run-generic 2>&1 \ // RUN: | %fcheck-generic +// XFAIL: intelgpu #include int main() { diff --git a/offload/test/offloading/CUDA/basic_launch.cu b/offload/test/offloading/CUDA/basic_launch.cu index 0846031a3f1a..efd7119c327e 100644 --- a/offload/test/offloading/CUDA/basic_launch.cu +++ b/offload/test/offloading/CUDA/basic_launch.cu @@ -9,6 +9,7 @@ // UNSUPPORTED: aarch64-unknown-linux-gnu-LTO // UNSUPPORTED: x86_64-unknown-linux-gnu // UNSUPPORTED: x86_64-unknown-linux-gnu-LTO +// XFAIL: intelgpu #include diff --git a/offload/test/offloading/CUDA/basic_launch_blocks_and_threads.cu b/offload/test/offloading/CUDA/basic_launch_blocks_and_threads.cu index 541cb58ce71d..f7bc8c180072 100644 --- a/offload/test/offloading/CUDA/basic_launch_blocks_and_threads.cu +++ b/offload/test/offloading/CUDA/basic_launch_blocks_and_threads.cu @@ -9,6 +9,7 @@ // UNSUPPORTED: aarch64-unknown-linux-gnu-LTO // UNSUPPORTED: x86_64-unknown-linux-gnu // UNSUPPORTED: x86_64-unknown-linux-gnu-LTO +// XFAIL: intelgpu #include diff --git a/offload/test/offloading/CUDA/basic_launch_multi_arg.cu b/offload/test/offloading/CUDA/basic_launch_multi_arg.cu index 4e0f3a41a7a0..9e93a1e78c34 100644 --- a/offload/test/offloading/CUDA/basic_launch_multi_arg.cu +++ b/offload/test/offloading/CUDA/basic_launch_multi_arg.cu @@ -6,6 +6,7 @@ // clang-format on // REQUIRES: gpu +// XFAIL: intelgpu #include diff --git a/offload/test/offloading/CUDA/launch_tu.cu b/offload/test/offloading/CUDA/launch_tu.cu index 17be0a1045f7..69050775d887 100644 --- a/offload/test/offloading/CUDA/launch_tu.cu +++ b/offload/test/offloading/CUDA/launch_tu.cu @@ -9,6 +9,7 @@ // UNSUPPORTED: aarch64-unknown-linux-gnu-LTO // UNSUPPORTED: x86_64-unknown-linux-gnu // UNSUPPORTED: x86_64-unknown-linux-gnu-LTO +// XFAIL: intelgpu #include diff --git a/offload/test/offloading/assert.cpp b/offload/test/offloading/assert.cpp index 07716f457e08..6ae33d1e6e6c 100644 --- a/offload/test/offloading/assert.cpp +++ b/offload/test/offloading/assert.cpp @@ -1,5 +1,6 @@ // RUN: %libomptarget-compilexx-generic && %libomptarget-run-fail-generic // RUN: %libomptarget-compileoptxx-generic && %libomptarget-run-fail-generic +// XFAIL: intelgpu int main(int argc, char *argv[]) { #pragma omp target diff --git a/offload/test/offloading/atomic-compare-signedness.c b/offload/test/offloading/atomic-compare-signedness.c index d774b8595972..e1c8a2f846a8 100644 --- a/offload/test/offloading/atomic-compare-signedness.c +++ b/offload/test/offloading/atomic-compare-signedness.c @@ -7,6 +7,7 @@ // RUN: %libomptarget-run-generic | %fcheck-generic // RUN: %libomptarget-compileopt-generic -fopenmp-version=51 // RUN: %libomptarget-run-generic | %fcheck-generic +// XFAIL: intelgpu // High parallelism increases our chances of detecting a lack of atomicity. #define NUM_THREADS_TRY 256 diff --git a/offload/test/offloading/back2back_distribute.c b/offload/test/offloading/back2back_distribute.c index 63cabd0c6678..4bd3d52a8c2f 100644 --- a/offload/test/offloading/back2back_distribute.c +++ b/offload/test/offloading/back2back_distribute.c @@ -1,5 +1,7 @@ +// clang-format off // RUN: %libomptarget-compile-generic -O3 && %libomptarget-run-generic | %fcheck-generic - +// XFAIL: intelgpu +// clang-format on #include #include #include diff --git a/offload/test/offloading/bug47654.cpp b/offload/test/offloading/bug47654.cpp index eba7904e76ca..3203e9f6da48 100644 --- a/offload/test/offloading/bug47654.cpp +++ b/offload/test/offloading/bug47654.cpp @@ -1,5 +1,6 @@ // RUN: %libomptarget-compilexx-run-and-check-generic // RUN: %libomptarget-compileoptxx-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/bug49021.cpp b/offload/test/offloading/bug49021.cpp index 37da8ce5d861..1bd35c66f5db 100644 --- a/offload/test/offloading/bug49021.cpp +++ b/offload/test/offloading/bug49021.cpp @@ -1,7 +1,10 @@ +// clang-format off // RUN: %libomptarget-compilexx-generic -O3 && %libomptarget-run-generic // RUN: %libomptarget-compilexx-generic -O3 -ffast-math && %libomptarget-run-generic // RUN: %libomptarget-compileoptxx-generic -O3 && %libomptarget-run-generic // RUN: %libomptarget-compileoptxx-generic -O3 -ffast-math && %libomptarget-run-generic +// XFAIL: intelgpu +// clang-format on #include diff --git a/offload/test/offloading/bug49334.cpp b/offload/test/offloading/bug49334.cpp index 4ca01d4bbd97..47b79d408b93 100644 --- a/offload/test/offloading/bug49334.cpp +++ b/offload/test/offloading/bug49334.cpp @@ -8,6 +8,7 @@ // REQUIRES: gpu // UNSUPPORTED: nvidiagpu // UNSUPPORTED: amdgpu +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/bug49779.cpp b/offload/test/offloading/bug49779.cpp index d036f95b3c35..7503825ddf65 100644 --- a/offload/test/offloading/bug49779.cpp +++ b/offload/test/offloading/bug49779.cpp @@ -5,6 +5,7 @@ // We need malloc/global_alloc support // UNSUPPORTED: amdgcn-amd-amdhsa +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/bug50022.cpp b/offload/test/offloading/bug50022.cpp index d2ae02b7054b..1bd48be9f9d8 100644 --- a/offload/test/offloading/bug50022.cpp +++ b/offload/test/offloading/bug50022.cpp @@ -1,5 +1,6 @@ // RUN: %libomptarget-compilexx-and-run-generic // RUN: %libomptarget-compileoptxx-and-run-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/bug51781.c b/offload/test/offloading/bug51781.c index 9ff0fddad3de..3c7f2ce09022 100644 --- a/offload/test/offloading/bug51781.c +++ b/offload/test/offloading/bug51781.c @@ -33,6 +33,7 @@ // RUN: %fcheck-nvptx64-nvidia-cuda -check-prefix=CUSTOM -input-file=%t.custom // RUN: %fcheck-amdgcn-amd-amdhsa -check-prefix=CUSTOM -input-file=%t.custom // RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic +// XFAIL: intelgpu // // CUSTOM: Rewriting generic-mode kernel with a customized state machine. diff --git a/offload/test/offloading/bug51982.c b/offload/test/offloading/bug51982.c index b19707aacde9..a6910b1fbb3f 100644 --- a/offload/test/offloading/bug51982.c +++ b/offload/test/offloading/bug51982.c @@ -1,6 +1,7 @@ // RUN: %libomptarget-compile-generic -O2 && %libomptarget-run-generic // -O2 to run openmp-opt // RUN: %libomptarget-compileopt-generic -O2 && %libomptarget-run-generic +// XFAIL: intelgpu int main(void) { long int aa = 0; diff --git a/offload/test/offloading/bug53727.cpp b/offload/test/offloading/bug53727.cpp index 8ce8b7e9b87c..a1a01f007850 100644 --- a/offload/test/offloading/bug53727.cpp +++ b/offload/test/offloading/bug53727.cpp @@ -1,5 +1,6 @@ // RUN: %libomptarget-compilexx-and-run-generic // RUN: %libomptarget-compileoptxx-and-run-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/bug64959.c b/offload/test/offloading/bug64959.c index eddc55325ffe..a31b8449d34f 100644 --- a/offload/test/offloading/bug64959.c +++ b/offload/test/offloading/bug64959.c @@ -6,6 +6,7 @@ // UNSUPPORTED: amdgcn-amd-amdhsa // UNSUPPORTED: nvptx64-nvidia-cuda // UNSUPPORTED: nvptx64-nvidia-cuda-LTO +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/bug64959_compile_only.c b/offload/test/offloading/bug64959_compile_only.c index 310942f25c00..ecb64d0128b6 100644 --- a/offload/test/offloading/bug64959_compile_only.c +++ b/offload/test/offloading/bug64959_compile_only.c @@ -1,5 +1,6 @@ // RUN: %libomptarget-compile-generic // RUN: %libomptarget-compileopt-generic +// XFAIL: intelgpu #include #define N 10 diff --git a/offload/test/offloading/bug74582.c b/offload/test/offloading/bug74582.c index c6a283bb9369..6297181a4aa5 100644 --- a/offload/test/offloading/bug74582.c +++ b/offload/test/offloading/bug74582.c @@ -1,5 +1,6 @@ // RUN: %libomptarget-compile-generic && %libomptarget-run-generic // RUN: %libomptarget-compileopt-generic && %libomptarget-run-generic +// XFAIL: intelgpu // Verify we do not read bits in the image that are not there (nobits section). diff --git a/offload/test/offloading/complex_reduction.cpp b/offload/test/offloading/complex_reduction.cpp index 3239f48743cc..c4508d052efa 100644 --- a/offload/test/offloading/complex_reduction.cpp +++ b/offload/test/offloading/complex_reduction.cpp @@ -1,5 +1,8 @@ +// clang-format off // RUN: %libomptarget-compilexx-generic -O3 && %libomptarget-run-generic // RUN: %libomptarget-compilexx-generic -O3 -ffast-math && %libomptarget-run-generic +// XFAIL: intelgpu +// clang-format on #include #include diff --git a/offload/test/offloading/ctor_dtor.cpp b/offload/test/offloading/ctor_dtor.cpp index 7f08798dea10..d8ec93c7ae47 100644 --- a/offload/test/offloading/ctor_dtor.cpp +++ b/offload/test/offloading/ctor_dtor.cpp @@ -1,5 +1,6 @@ // RUN: %libomptarget-compilexx-run-and-check-generic // RUN: %libomptarget-compileoptxx-run-and-check-generic +// XFAIL: intelgpu #include struct S { diff --git a/offload/test/offloading/ctor_dtor_api.cpp b/offload/test/offloading/ctor_dtor_api.cpp index da8f0c805174..55b828661952 100644 --- a/offload/test/offloading/ctor_dtor_api.cpp +++ b/offload/test/offloading/ctor_dtor_api.cpp @@ -1,5 +1,6 @@ // RUN: %libomptarget-compilexx-run-and-check-generic // RUN: %libomptarget-compileoptxx-run-and-check-generic +// UNSUPPORTED: intelgpu #include #include diff --git a/offload/test/offloading/ctor_dtor_lazy.cpp b/offload/test/offloading/ctor_dtor_lazy.cpp index 6ca232c288b5..d09bd517387d 100644 --- a/offload/test/offloading/ctor_dtor_lazy.cpp +++ b/offload/test/offloading/ctor_dtor_lazy.cpp @@ -4,6 +4,7 @@ // RUN: %not --crash %libomptarget-run-generic // RUN: %libomptarget-compilexx-generic -DCTOR_API // RUN: %not --crash %libomptarget-run-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/cuda_no_devices.c b/offload/test/offloading/cuda_no_devices.c index bbcbf6b9f07e..eb429ef8927c 100644 --- a/offload/test/offloading/cuda_no_devices.c +++ b/offload/test/offloading/cuda_no_devices.c @@ -5,6 +5,7 @@ // RUN: %libomptarget-compile-generic // RUN: env CUDA_VISIBLE_DEVICES= \ // RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic +// XFAIL: intelgpu #include diff --git a/offload/test/offloading/d2d_memcpy.c b/offload/test/offloading/d2d_memcpy.c index f26d0c7c5800..00a3e72ac296 100644 --- a/offload/test/offloading/d2d_memcpy.c +++ b/offload/test/offloading/d2d_memcpy.c @@ -4,6 +4,7 @@ // RUN: %libomptarget-compileopt-generic && \ // RUN: env OMP_MAX_ACTIVE_LEVELS=2 %libomptarget-run-generic | \ // RUN: %fcheck-generic -allow-empty +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/default_thread_limit.c b/offload/test/offloading/default_thread_limit.c index ad8d08fdef29..76e66c2a4571 100644 --- a/offload/test/offloading/default_thread_limit.c +++ b/offload/test/offloading/default_thread_limit.c @@ -7,6 +7,7 @@ // RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic --check-prefix=DEFAULT // REQUIRES: amdgpu +// XFAIL: intelgpu __attribute__((optnone)) int optnone() { return 1; } diff --git a/offload/test/offloading/dynamic_module.c b/offload/test/offloading/dynamic_module.c index 00ae8100db7e..ba67ed3c6846 100644 --- a/offload/test/offloading/dynamic_module.c +++ b/offload/test/offloading/dynamic_module.c @@ -1,9 +1,12 @@ +// clang-format off // RUN: %libomptarget-compile-generic -DSHARED -fPIC -shared -o %t.so && \ // RUN: %libomptarget-compile-generic %t.so && %libomptarget-run-generic 2>&1 | %fcheck-generic // RUN: %libomptarget-compileopt-generic -DSHARED -fPIC -shared -o %t.so && \ // RUN: %libomptarget-compileopt-generic %t.so && %libomptarget-run-generic 2>&1 | %fcheck-generic // // REQUIRES: gpu +// XFAIL: intelgpu +// clang-format on #ifdef SHARED void foo() {} diff --git a/offload/test/offloading/dynamic_module_load.c b/offload/test/offloading/dynamic_module_load.c index 5393f33e84f8..45352e667dec 100644 --- a/offload/test/offloading/dynamic_module_load.c +++ b/offload/test/offloading/dynamic_module_load.c @@ -1,5 +1,7 @@ +// clang-format off // RUN: %libomptarget-compile-generic -DSHARED -fPIC -shared -o %t.so && %clang %flags %s -o %t -ldl && %libomptarget-run-generic %t.so 2>&1 | %fcheck-generic - +// XFAIL: intelgpu +// clang-format on #ifdef SHARED #include int foo() { diff --git a/offload/test/offloading/extern.c b/offload/test/offloading/extern.c index 35cf905ee0cd..f594e377d8f2 100644 --- a/offload/test/offloading/extern.c +++ b/offload/test/offloading/extern.c @@ -1,6 +1,8 @@ +// clang-format off // RUN: %libomptarget-compile-generic -DVAR -c -o %t.o // RUN: %libomptarget-compile-generic %t.o && %libomptarget-run-generic | %fcheck-generic - +// XFAIL: intelgpu +// clang-format on #ifdef VAR int x = 1; #else diff --git a/offload/test/offloading/force-usm.cpp b/offload/test/offloading/force-usm.cpp index 9988c3dc4e9e..9afe57d79735 100644 --- a/offload/test/offloading/force-usm.cpp +++ b/offload/test/offloading/force-usm.cpp @@ -10,6 +10,7 @@ // // UNSUPPORTED: nvptx64-nvidia-cuda // UNSUPPORTED: nvptx64-nvidia-cuda-LTO +// XFAIL: intelgpu // clang-format on #include diff --git a/offload/test/offloading/fortran/basic-target-parallel-do.f90 b/offload/test/offloading/fortran/basic-target-parallel-do.f90 index 5ea505fca4d6..f97d4085ac39 100644 --- a/offload/test/offloading/fortran/basic-target-parallel-do.f90 +++ b/offload/test/offloading/fortran/basic-target-parallel-do.f90 @@ -3,6 +3,7 @@ ! RUN: %libomptarget-compile-fortran-generic ! RUN: env LIBOMPTARGET_INFO=16 %libomptarget-run-generic 2>&1 | %fcheck-generic +! XFAIL: intelgpu program main use omp_lib integer :: x(100) diff --git a/offload/test/offloading/fortran/basic-target-parallel-region.f90 b/offload/test/offloading/fortran/basic-target-parallel-region.f90 index 6c5bf1c63bac..add23f7c6b66 100644 --- a/offload/test/offloading/fortran/basic-target-parallel-region.f90 +++ b/offload/test/offloading/fortran/basic-target-parallel-region.f90 @@ -2,6 +2,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main use omp_lib integer :: x diff --git a/offload/test/offloading/fortran/basic-target-region-3D-array.f90 b/offload/test/offloading/fortran/basic-target-region-3D-array.f90 index 61fced35980f..5d8ddc507204 100644 --- a/offload/test/offloading/fortran/basic-target-region-3D-array.f90 +++ b/offload/test/offloading/fortran/basic-target-region-3D-array.f90 @@ -5,6 +5,7 @@ ! UNSUPPORTED: nvptx64-nvidia-cuda-LTO ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main integer :: x(2,2,2) integer :: i, j, k diff --git a/offload/test/offloading/fortran/double-target-call-with-declare-target.f90 b/offload/test/offloading/fortran/double-target-call-with-declare-target.f90 index f7fef9583214..ab2fb5e6e7d9 100644 --- a/offload/test/offloading/fortran/double-target-call-with-declare-target.f90 +++ b/offload/test/offloading/fortran/double-target-call-with-declare-target.f90 @@ -4,6 +4,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu module test_0 implicit none integer :: sp(10) = (/0,0,0,0,0,0,0,0,0,0/) diff --git a/offload/test/offloading/fortran/dump_map_tables.f90 b/offload/test/offloading/fortran/dump_map_tables.f90 index 424dec206656..8087407f20d0 100644 --- a/offload/test/offloading/fortran/dump_map_tables.f90 +++ b/offload/test/offloading/fortran/dump_map_tables.f90 @@ -9,6 +9,7 @@ ! UNSUPPORTED: x86_64-unknown-linux-gnu-LTO ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program map_dump_example INTERFACE diff --git a/offload/test/offloading/fortran/target-map-derived-type-full-1.f90 b/offload/test/offloading/fortran/target-map-derived-type-full-1.f90 index 09a847f2cef8..36246962834c 100644 --- a/offload/test/offloading/fortran/target-map-derived-type-full-1.f90 +++ b/offload/test/offloading/fortran/target-map-derived-type-full-1.f90 @@ -3,6 +3,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main type :: scalar integer(4) :: ix = 0 diff --git a/offload/test/offloading/fortran/target-map-derived-type-full-2.f90 b/offload/test/offloading/fortran/target-map-derived-type-full-2.f90 index f4f63f233cc0..b6d18ab8f909 100644 --- a/offload/test/offloading/fortran/target-map-derived-type-full-2.f90 +++ b/offload/test/offloading/fortran/target-map-derived-type-full-2.f90 @@ -3,6 +3,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main type :: scalar integer(4) :: ix = 0 diff --git a/offload/test/offloading/fortran/target-map-dtype-explicit-individual-array-member.f90 b/offload/test/offloading/fortran/target-map-dtype-explicit-individual-array-member.f90 index c4496a3e411a..7687100b45f6 100644 --- a/offload/test/offloading/fortran/target-map-dtype-explicit-individual-array-member.f90 +++ b/offload/test/offloading/fortran/target-map-dtype-explicit-individual-array-member.f90 @@ -3,6 +3,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main type :: scalar_array real(4) :: break_0 diff --git a/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-3D-member-bounds.f90 b/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-3D-member-bounds.f90 index 145818fd4111..8efa24dc5920 100644 --- a/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-3D-member-bounds.f90 +++ b/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-3D-member-bounds.f90 @@ -3,6 +3,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main type :: scalar_array real(4) :: break_0 diff --git a/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member-bounds.f90 b/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member-bounds.f90 index 1a4742461f8c..40200b063b06 100644 --- a/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member-bounds.f90 +++ b/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member-bounds.f90 @@ -3,6 +3,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main type :: scalar_array real(4) :: break_0 diff --git a/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member.f90 b/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member.f90 index d05b2dafebb1..1e736a3f7b60 100644 --- a/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member.f90 +++ b/offload/test/offloading/fortran/target-map-dtype-multi-explicit-array-member.f90 @@ -3,6 +3,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main type :: scalar_array real(4) :: break_0 diff --git a/offload/test/offloading/fortran/target-map-dtype-multi-explicit-member.f90 b/offload/test/offloading/fortran/target-map-dtype-multi-explicit-member.f90 index 1bda6d67f2b2..c4618b7d0905 100644 --- a/offload/test/offloading/fortran/target-map-dtype-multi-explicit-member.f90 +++ b/offload/test/offloading/fortran/target-map-dtype-multi-explicit-member.f90 @@ -3,6 +3,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main type :: scalar integer(4) :: ix = 0 diff --git a/offload/test/offloading/fortran/target-map-enter-exit-array.f90 b/offload/test/offloading/fortran/target-map-enter-exit-array.f90 index 51de70f092ef..60d73ab96f9d 100644 --- a/offload/test/offloading/fortran/target-map-enter-exit-array.f90 +++ b/offload/test/offloading/fortran/target-map-enter-exit-array.f90 @@ -3,6 +3,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main integer :: A(10) diff --git a/offload/test/offloading/fortran/target-map-enter-exit-scalar.f90 b/offload/test/offloading/fortran/target-map-enter-exit-scalar.f90 index 7e252259007f..2832b22c5bff 100644 --- a/offload/test/offloading/fortran/target-map-enter-exit-scalar.f90 +++ b/offload/test/offloading/fortran/target-map-enter-exit-scalar.f90 @@ -2,6 +2,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main integer :: scalar scalar = 10 diff --git a/offload/test/offloading/fortran/target-map-individual-dtype-member-map.f90 b/offload/test/offloading/fortran/target-map-individual-dtype-member-map.f90 index 081718e0448c..40a792fd90b9 100644 --- a/offload/test/offloading/fortran/target-map-individual-dtype-member-map.f90 +++ b/offload/test/offloading/fortran/target-map-individual-dtype-member-map.f90 @@ -3,6 +3,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main real :: test type :: scalar diff --git a/offload/test/offloading/fortran/target-map-nested-dtype-complex-member.f90 b/offload/test/offloading/fortran/target-map-nested-dtype-complex-member.f90 index e1c5fbba5387..a2f4068be16c 100644 --- a/offload/test/offloading/fortran/target-map-nested-dtype-complex-member.f90 +++ b/offload/test/offloading/fortran/target-map-nested-dtype-complex-member.f90 @@ -3,6 +3,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main type :: bottom_layer real(8) :: i2 diff --git a/offload/test/offloading/fortran/target-map-nested-dtype-derived-member.f90 b/offload/test/offloading/fortran/target-map-nested-dtype-derived-member.f90 index 3d5cb95a78c8..59fcfca4b040 100644 --- a/offload/test/offloading/fortran/target-map-nested-dtype-derived-member.f90 +++ b/offload/test/offloading/fortran/target-map-nested-dtype-derived-member.f90 @@ -3,6 +3,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main type :: bottom_layer real(8) :: i2 diff --git a/offload/test/offloading/fortran/target-map-nested-dtype-multi-member.f90 b/offload/test/offloading/fortran/target-map-nested-dtype-multi-member.f90 index b8153940fbaa..69a0c6ee9af3 100644 --- a/offload/test/offloading/fortran/target-map-nested-dtype-multi-member.f90 +++ b/offload/test/offloading/fortran/target-map-nested-dtype-multi-member.f90 @@ -3,6 +3,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main type :: bottom_layer real(8) :: i2 diff --git a/offload/test/offloading/fortran/target-map-pointer-target-array-section-3d-bounds.f90 b/offload/test/offloading/fortran/target-map-pointer-target-array-section-3d-bounds.f90 index 6d9c497134ff..ae46c777294b 100644 --- a/offload/test/offloading/fortran/target-map-pointer-target-array-section-3d-bounds.f90 +++ b/offload/test/offloading/fortran/target-map-pointer-target-array-section-3d-bounds.f90 @@ -3,6 +3,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main integer, pointer :: inArray(:,:,:) integer, pointer :: outArray(:,:,:) diff --git a/offload/test/offloading/fortran/target-map-two-dtype-explicit-member.f90 b/offload/test/offloading/fortran/target-map-two-dtype-explicit-member.f90 index 0fe153189f1b..336a7c47dcc9 100644 --- a/offload/test/offloading/fortran/target-map-two-dtype-explicit-member.f90 +++ b/offload/test/offloading/fortran/target-map-two-dtype-explicit-member.f90 @@ -3,6 +3,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main type :: scalar_array real(4) :: break_0 diff --git a/offload/test/offloading/fortran/target-no-loop.f90 b/offload/test/offloading/fortran/target-no-loop.f90 index 3c88b00a5354..0cebfbc008b5 100644 --- a/offload/test/offloading/fortran/target-no-loop.f90 +++ b/offload/test/offloading/fortran/target-no-loop.f90 @@ -3,6 +3,7 @@ ! RUN: %libomptarget-compile-fortran-generic -O3 -fopenmp-assume-threads-oversubscription -fopenmp-assume-teams-oversubscription ! RUN: env LIBOMPTARGET_INFO=16 OMP_NUM_TEAMS=16 OMP_TEAMS_THREAD_LIMIT=16 %libomptarget-run-generic 2>&1 | %fcheck-generic +! XFAIL: intelgpu function check_errors(array) result (errors) integer, intent(in) :: array(1024) integer :: errors diff --git a/offload/test/offloading/fortran/target-region-implicit-array.f90 b/offload/test/offloading/fortran/target-region-implicit-array.f90 index e3852569a5a8..54e1d81122e6 100644 --- a/offload/test/offloading/fortran/target-region-implicit-array.f90 +++ b/offload/test/offloading/fortran/target-region-implicit-array.f90 @@ -3,6 +3,7 @@ ! REQUIRES: flang, amdgpu ! RUN: %libomptarget-compile-fortran-run-and-check-generic +! XFAIL: intelgpu program main integer :: x(10) = (/0,0,0,0,0,0,0,0,0,0/) integer :: i = 1 diff --git a/offload/test/offloading/generic_multiple_parallel_regions.c b/offload/test/offloading/generic_multiple_parallel_regions.c index 33fe2ca127b6..80939d147ebc 100644 --- a/offload/test/offloading/generic_multiple_parallel_regions.c +++ b/offload/test/offloading/generic_multiple_parallel_regions.c @@ -1,5 +1,6 @@ // RUN: %libomptarget-compile-run-and-check-generic // RUN: %libomptarget-compileopt-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/global_constructor.cpp b/offload/test/offloading/global_constructor.cpp index eb68c5f78358..0f869788e146 100644 --- a/offload/test/offloading/global_constructor.cpp +++ b/offload/test/offloading/global_constructor.cpp @@ -1,4 +1,7 @@ +// clang-format off // RUN: %libomptarget-compilexx-generic && %libomptarget-run-generic | %fcheck-generic +// XFAIL: intelgpu +// clang-format on #include diff --git a/offload/test/offloading/high_trip_count_block_limit.cpp b/offload/test/offloading/high_trip_count_block_limit.cpp index 12d76d80d72f..b7109f25163d 100644 --- a/offload/test/offloading/high_trip_count_block_limit.cpp +++ b/offload/test/offloading/high_trip_count_block_limit.cpp @@ -8,6 +8,7 @@ // UNSUPPORTED: x86_64-unknown-linux-gnu-LTO // UNSUPPORTED: s390x-ibm-linux-gnu // UNSUPPORTED: s390x-ibm-linux-gnu-LTO +// XFAIL: intelgpu // clang-format on /* diff --git a/offload/test/offloading/host_as_target.c b/offload/test/offloading/host_as_target.c index 8ab991b72338..24e870b441ed 100644 --- a/offload/test/offloading/host_as_target.c +++ b/offload/test/offloading/host_as_target.c @@ -6,6 +6,7 @@ // - Works whether it's specified directly or as the default device. // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/indirect_fp_mapping.c b/offload/test/offloading/indirect_fp_mapping.c index a400349c4114..cf548b4ac39b 100644 --- a/offload/test/offloading/indirect_fp_mapping.c +++ b/offload/test/offloading/indirect_fp_mapping.c @@ -2,6 +2,7 @@ // RUN: %libomptarget-run-generic | %fcheck-generic // RUN: %libomptarget-compileopt-generic -fopenmp-version=51 // RUN: %libomptarget-run-generic | %fcheck-generic +// XFAIL: intelgpu #include diff --git a/offload/test/offloading/info.c b/offload/test/offloading/info.c index d86644b871e2..33aacc728f4a 100644 --- a/offload/test/offloading/info.c +++ b/offload/test/offloading/info.c @@ -7,6 +7,7 @@ // FIXME: Fails due to optimized debugging in 'ptxas'. // UNSUPPORTED: nvptx64-nvidia-cuda-LTO +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/interop-print.c b/offload/test/offloading/interop-print.c index f7b37d992f17..535b3da8e138 100644 --- a/offload/test/offloading/interop-print.c +++ b/offload/test/offloading/interop-print.c @@ -9,6 +9,7 @@ // REQUIRES: gpu // XFAIL: nvptx64-nvidia-cuda // XFAIL: nvptx64-nvidia-cuda-LTO +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/interop.c b/offload/test/offloading/interop.c index d9fa2ef883b9..7e431473a364 100644 --- a/offload/test/offloading/interop.c +++ b/offload/test/offloading/interop.c @@ -1,6 +1,6 @@ // RUN: %libomptarget-compile-run-and-check-generic -// XFAIL: * +// XFAIL: !intelgpu #include #include diff --git a/offload/test/offloading/looptripcnt.c b/offload/test/offloading/looptripcnt.c index d1a095038b75..b39602d14bd3 100644 --- a/offload/test/offloading/looptripcnt.c +++ b/offload/test/offloading/looptripcnt.c @@ -1,5 +1,8 @@ +// clang-format off // RUN: %libomptarget-compile-generic && env LIBOMPTARGET_DEBUG=1 %libomptarget-run-generic 2>&1 | %fcheck-generic -allow-empty -check-prefix=DEBUG // REQUIRES: libomptarget-debug +// XFAIL: intelgpu +// clang-format on /* Test for looptripcount being popped from runtime stack. diff --git a/offload/test/offloading/malloc.c b/offload/test/offloading/malloc.c index 04e72561d312..d9b87d2bbe27 100644 --- a/offload/test/offloading/malloc.c +++ b/offload/test/offloading/malloc.c @@ -1,5 +1,6 @@ // RUN: %libomptarget-compile-generic && %libomptarget-run-generic // RUN: %libomptarget-compileopt-generic && %libomptarget-run-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/memory_manager.cpp b/offload/test/offloading/memory_manager.cpp index d6d8697fcdec..68db0f5dec98 100644 --- a/offload/test/offloading/memory_manager.cpp +++ b/offload/test/offloading/memory_manager.cpp @@ -1,4 +1,5 @@ // RUN: %libomptarget-compilexx-run-and-check-generic +// XFAIL: intelgpu #include diff --git a/offload/test/offloading/multiple_reductions_simple.c b/offload/test/offloading/multiple_reductions_simple.c index 54e55f97a237..5357caa46c29 100644 --- a/offload/test/offloading/multiple_reductions_simple.c +++ b/offload/test/offloading/multiple_reductions_simple.c @@ -1,5 +1,6 @@ // RUN: %libomptarget-compile-run-and-check-generic // RUN: %libomptarget-compileopt-run-and-check-generic +// XFAIL: intelgpu #include diff --git a/offload/test/offloading/offloading_success.c b/offload/test/offloading/offloading_success.c index f849cb4cfba7..407be9683dbc 100644 --- a/offload/test/offloading/offloading_success.c +++ b/offload/test/offloading/offloading_success.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/offloading_success.cpp b/offload/test/offloading/offloading_success.cpp index d3103b8666ab..72ad7c58968d 100644 --- a/offload/test/offloading/offloading_success.cpp +++ b/offload/test/offloading/offloading_success.cpp @@ -1,4 +1,5 @@ // RUN: %libomptarget-compilexx-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/ompx_bare.c b/offload/test/offloading/ompx_bare.c index 9c8addf03c4d..9589d72de3cd 100644 --- a/offload/test/offloading/ompx_bare.c +++ b/offload/test/offloading/ompx_bare.c @@ -3,6 +3,7 @@ // RUN: %fcheck-generic // // REQUIRES: gpu +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/ompx_bare_ballot_sync.c b/offload/test/offloading/ompx_bare_ballot_sync.c index b810fb404b58..425bc4617aac 100644 --- a/offload/test/offloading/ompx_bare_ballot_sync.c +++ b/offload/test/offloading/ompx_bare_ballot_sync.c @@ -1,6 +1,7 @@ // RUN: %libomptarget-compilexx-run-and-check-generic // // REQUIRES: gpu +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/ompx_bare_multi_dim.cpp b/offload/test/offloading/ompx_bare_multi_dim.cpp index 3a726f89f7df..924810a44b07 100644 --- a/offload/test/offloading/ompx_bare_multi_dim.cpp +++ b/offload/test/offloading/ompx_bare_multi_dim.cpp @@ -1,6 +1,9 @@ +// clang-format off // RUN: %libomptarget-compilexx-generic // RUN: env LIBOMPTARGET_INFO=63 %libomptarget-run-generic 2>&1 | %fcheck-generic // REQUIRES: gpu +// XFAIL: intelgpu +// clang-format on #include diff --git a/offload/test/offloading/ompx_bare_shfl_down_sync.cpp b/offload/test/offloading/ompx_bare_shfl_down_sync.cpp index 311999918de8..27b1e41e3194 100644 --- a/offload/test/offloading/ompx_bare_shfl_down_sync.cpp +++ b/offload/test/offloading/ompx_bare_shfl_down_sync.cpp @@ -1,6 +1,7 @@ // RUN: %libomptarget-compilexx-run-and-check-generic // // REQUIRES: gpu +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/ompx_coords.c b/offload/test/offloading/ompx_coords.c index 7cca784a9090..71979ef2ebe8 100644 --- a/offload/test/offloading/ompx_coords.c +++ b/offload/test/offloading/ompx_coords.c @@ -1,6 +1,7 @@ // RUN: %libomptarget-compileopt-run-and-check-generic // // REQUIRES: gpu +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/ompx_saxpy_mixed.c b/offload/test/offloading/ompx_saxpy_mixed.c index 02cb78b216b8..f370d68327c9 100644 --- a/offload/test/offloading/ompx_saxpy_mixed.c +++ b/offload/test/offloading/ompx_saxpy_mixed.c @@ -1,6 +1,7 @@ // RUN: %libomptarget-compileopt-run-and-check-generic // // REQUIRES: gpu +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/parallel_offloading_map.cpp b/offload/test/offloading/parallel_offloading_map.cpp index d2a6c4200df5..50281f5043a7 100644 --- a/offload/test/offloading/parallel_offloading_map.cpp +++ b/offload/test/offloading/parallel_offloading_map.cpp @@ -1,6 +1,7 @@ // RUN: %libomptarget-compilexx-run-and-check-generic // REQUIRES: gpu +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/parallel_target_teams_reduction.cpp b/offload/test/offloading/parallel_target_teams_reduction.cpp index d6486f623778..05f675b87c5e 100644 --- a/offload/test/offloading/parallel_target_teams_reduction.cpp +++ b/offload/test/offloading/parallel_target_teams_reduction.cpp @@ -3,6 +3,7 @@ // FIXME: This is a bug in host offload, this should run fine. // REQUIRES: gpu +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/parallel_target_teams_reduction_max.cpp b/offload/test/offloading/parallel_target_teams_reduction_max.cpp index ae0cf25a9017..bb893e6f3f75 100644 --- a/offload/test/offloading/parallel_target_teams_reduction_max.cpp +++ b/offload/test/offloading/parallel_target_teams_reduction_max.cpp @@ -3,6 +3,7 @@ // FIXME: This is a bug in host offload, this should run fine. // REQUIRES: gpu +// XFAIL: intelgpu // This test validates that the OpenMP target reductions to find a maximum work // as intended for a few common data types. diff --git a/offload/test/offloading/parallel_target_teams_reduction_min.cpp b/offload/test/offloading/parallel_target_teams_reduction_min.cpp index 8a1610357a50..416ef44f2112 100644 --- a/offload/test/offloading/parallel_target_teams_reduction_min.cpp +++ b/offload/test/offloading/parallel_target_teams_reduction_min.cpp @@ -3,6 +3,7 @@ // FIXME: This is a bug in host offload, this should run fine. // REQUIRES: gpu +// XFAIL: intelgpu // This test validates that the OpenMP target reductions to find a minimum work // as intended for a few common data types. diff --git a/offload/test/offloading/requires.c b/offload/test/offloading/requires.c index fc21ca3420e9..02fbfa441f52 100644 --- a/offload/test/offloading/requires.c +++ b/offload/test/offloading/requires.c @@ -1,6 +1,7 @@ // clang-format off // RUN: %libomptarget-compile-generic -DREQ=1 && %libomptarget-run-generic 2>&1 | %fcheck-generic -check-prefix=GOOD // RUN: %libomptarget-compile-generic -DREQ=2 && %not --crash %libomptarget-run-generic 2>&1 | %fcheck-generic -check-prefix=BAD +// XFAIL: intelgpu // clang-format on /* diff --git a/offload/test/offloading/shared_lib_fp_mapping.c b/offload/test/offloading/shared_lib_fp_mapping.c index e0af9b70a75c..431c4e9bb0b5 100644 --- a/offload/test/offloading/shared_lib_fp_mapping.c +++ b/offload/test/offloading/shared_lib_fp_mapping.c @@ -3,6 +3,7 @@ // RUN: %clang-generic -fPIC -shared %S/../Inputs/declare_indirect_func.c -o %t.testdir/libslfm.so -fopenmp-version=51 // RUN: %libomptarget-compile-generic -rpath %t.testdir -L %t.testdir -l slfm -o %t -fopenmp-version=51 // RUN: env LIBOMPTARGET_INFO=32 %t 2>&1 | %fcheck-generic +// XFAIL: intelgpu // clang-format on #include diff --git a/offload/test/offloading/small_trip_count.c b/offload/test/offloading/small_trip_count.c index e9ec8b7103d6..fd569ce6f41b 100644 --- a/offload/test/offloading/small_trip_count.c +++ b/offload/test/offloading/small_trip_count.c @@ -6,6 +6,7 @@ // RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic --check-prefix=EIGHT // REQUIRES: gpu +// XFAIL: intelgpu #define N 128 diff --git a/offload/test/offloading/small_trip_count_thread_limit.cpp b/offload/test/offloading/small_trip_count_thread_limit.cpp index fbd7fe9175d7..3afc7ce83792 100644 --- a/offload/test/offloading/small_trip_count_thread_limit.cpp +++ b/offload/test/offloading/small_trip_count_thread_limit.cpp @@ -4,6 +4,7 @@ // RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic // REQUIRES: gpu +// XFAIL: intelgpu int main(int argc, char *argv[]) { constexpr const int block_size = 256; diff --git a/offload/test/offloading/spmdization.c b/offload/test/offloading/spmdization.c index 48627cd7dae1..ca881a758024 100644 --- a/offload/test/offloading/spmdization.c +++ b/offload/test/offloading/spmdization.c @@ -9,6 +9,7 @@ // clang-format on // REQUIRES: gpu +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/static_linking.c b/offload/test/offloading/static_linking.c index 273109e10c09..000ed11052d3 100644 --- a/offload/test/offloading/static_linking.c +++ b/offload/test/offloading/static_linking.c @@ -1,6 +1,9 @@ +// clang-format off // RUN: %libomptarget-compile-generic -DLIBRARY -c -o %t.o // RUN: ar rcs %t.a %t.o // RUN: %libomptarget-compile-generic %t.a && %libomptarget-run-generic 2>&1 | %fcheck-generic +// XFAIL: intelgpu +// clang-format on #ifdef LIBRARY int x = 42; diff --git a/offload/test/offloading/std_complex_arithmetic.cpp b/offload/test/offloading/std_complex_arithmetic.cpp index 641b849bbc3e..8f493015f2e6 100644 --- a/offload/test/offloading/std_complex_arithmetic.cpp +++ b/offload/test/offloading/std_complex_arithmetic.cpp @@ -7,6 +7,7 @@ // needed math functions in the GPU `libm` and require the GPU C library. // UNSUPPORTED: amdgcn-amd-amdhsa // UNSUPPORTED: nvptx64-nvidia-cuda-LTO +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/strided_multiple_update.c b/offload/test/offloading/strided_multiple_update.c index a3e8d10863ae..4f2df8193373 100644 --- a/offload/test/offloading/strided_multiple_update.c +++ b/offload/test/offloading/strided_multiple_update.c @@ -3,6 +3,7 @@ // from the device to the host. // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/strided_partial_update.c b/offload/test/offloading/strided_partial_update.c index 15d477f2b9b7..4a2977a08f70 100644 --- a/offload/test/offloading/strided_partial_update.c +++ b/offload/test/offloading/strided_partial_update.c @@ -3,6 +3,7 @@ // across the array // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/strided_ptr_multiple_update_from.c b/offload/test/offloading/strided_ptr_multiple_update_from.c index b671a1e2b688..33deb59534f6 100644 --- a/offload/test/offloading/strided_ptr_multiple_update_from.c +++ b/offload/test/offloading/strided_ptr_multiple_update_from.c @@ -3,6 +3,7 @@ // from the device to the host using dynamically allocated memory. // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include #include diff --git a/offload/test/offloading/strided_ptr_multiple_update_to.c b/offload/test/offloading/strided_ptr_multiple_update_to.c index 7ae9189ead8e..be56f3dc5c24 100644 --- a/offload/test/offloading/strided_ptr_multiple_update_to.c +++ b/offload/test/offloading/strided_ptr_multiple_update_to.c @@ -3,6 +3,7 @@ // from the host to the device using dynamically allocated memory. // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include #include diff --git a/offload/test/offloading/strided_ptr_partial_update_from.c b/offload/test/offloading/strided_ptr_partial_update_from.c index d30a67139300..be235d3d9c53 100644 --- a/offload/test/offloading/strided_ptr_partial_update_from.c +++ b/offload/test/offloading/strided_ptr_partial_update_from.c @@ -3,6 +3,7 @@ // across the array using dynamically allocated memory. // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include #include diff --git a/offload/test/offloading/strided_ptr_partial_update_to.c b/offload/test/offloading/strided_ptr_partial_update_to.c index 37c165351a76..662e1a2655ca 100644 --- a/offload/test/offloading/strided_ptr_partial_update_to.c +++ b/offload/test/offloading/strided_ptr_partial_update_to.c @@ -3,6 +3,7 @@ // across the array using dynamically allocated memory. // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include #include diff --git a/offload/test/offloading/strided_update.c b/offload/test/offloading/strided_update.c index fe875b7fd55c..9910bed9c546 100644 --- a/offload/test/offloading/strided_update.c +++ b/offload/test/offloading/strided_update.c @@ -4,6 +4,7 @@ // other element (stride 2) from the device to the host // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/struct_mapping_with_pointers.cpp b/offload/test/offloading/struct_mapping_with_pointers.cpp index 369e8dff2527..a9a8c7e459cd 100644 --- a/offload/test/offloading/struct_mapping_with_pointers.cpp +++ b/offload/test/offloading/struct_mapping_with_pointers.cpp @@ -6,6 +6,7 @@ // UNSUPPORTED: nvptx64-nvidia-cuda // UNSUPPORTED: nvptx64-nvidia-cuda-LTO +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/target-teams-atomic.c b/offload/test/offloading/target-teams-atomic.c index 97563422ced8..ccc60040903e 100644 --- a/offload/test/offloading/target-teams-atomic.c +++ b/offload/test/offloading/target-teams-atomic.c @@ -3,6 +3,7 @@ // default. // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/target-tile.c b/offload/test/offloading/target-tile.c index 8460b43b6f9c..e5413a9493f4 100644 --- a/offload/test/offloading/target-tile.c +++ b/offload/test/offloading/target-tile.c @@ -3,6 +3,7 @@ // RUN: %libomptarget-compile-generic -fopenmp-version=51 // RUN: %libomptarget-run-generic 2>&1 | %fcheck-generic +// XFAIL: intelgpu #include diff --git a/offload/test/offloading/target_constexpr_mapping.cpp b/offload/test/offloading/target_constexpr_mapping.cpp index 14cf92a7cc26..240005b48763 100644 --- a/offload/test/offloading/target_constexpr_mapping.cpp +++ b/offload/test/offloading/target_constexpr_mapping.cpp @@ -1,4 +1,5 @@ // RUN: %libomptarget-compileoptxx-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/target_critical_region.cpp b/offload/test/offloading/target_critical_region.cpp index 0b97823e266b..ddab2e754a66 100644 --- a/offload/test/offloading/target_critical_region.cpp +++ b/offload/test/offloading/target_critical_region.cpp @@ -4,6 +4,7 @@ // UNSUPPORTED: nvptx64-nvidia-cuda // UNSUPPORTED: nvptx64-nvidia-cuda-LTO // UNSUPPORTED: amdgcn-amd-amdhsa +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/target_depend_nowait.cpp b/offload/test/offloading/target_depend_nowait.cpp index b0d5408770bc..0a6b903db688 100644 --- a/offload/test/offloading/target_depend_nowait.cpp +++ b/offload/test/offloading/target_depend_nowait.cpp @@ -1,4 +1,5 @@ // RUN: %libomptarget-compilexx-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/target_map_for_member_data.cpp b/offload/test/offloading/target_map_for_member_data.cpp index 7fba71be6e66..ea057d66ea64 100644 --- a/offload/test/offloading/target_map_for_member_data.cpp +++ b/offload/test/offloading/target_map_for_member_data.cpp @@ -3,6 +3,7 @@ // clang-format on // REQUIRES: libomptarget-debug +// XFAIL: intelgpu struct DataTy { float a; diff --git a/offload/test/offloading/target_nowait_target.cpp b/offload/test/offloading/target_nowait_target.cpp index 7c20e76ce138..f6c2b56963cf 100644 --- a/offload/test/offloading/target_nowait_target.cpp +++ b/offload/test/offloading/target_nowait_target.cpp @@ -1,5 +1,6 @@ // RUN: %libomptarget-compilexx-and-run-generic // RUN: %libomptarget-compileoptxx-and-run-generic +// XFAIL: intelgpu #include diff --git a/offload/test/offloading/target_update_from.c b/offload/test/offloading/target_update_from.c index 4f84968f6d9a..92697bc6b802 100644 --- a/offload/test/offloading/target_update_from.c +++ b/offload/test/offloading/target_update_from.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu // This test checks that "update from" clause in OpenMP supports strided // sections. #pragma omp target update from(result[0:N/2:2]) updates every other // element from device diff --git a/offload/test/offloading/target_update_strided_struct_from.c b/offload/test/offloading/target_update_strided_struct_from.c index 46448d10189f..7a8805ab35e9 100644 --- a/offload/test/offloading/target_update_strided_struct_from.c +++ b/offload/test/offloading/target_update_strided_struct_from.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu // This test checks that "update from" with user-defined mapper supports strided // sections using fixed-size arrays in structs. diff --git a/offload/test/offloading/target_update_strided_struct_multiple_from.c b/offload/test/offloading/target_update_strided_struct_multiple_from.c index fa57d35b86a4..16023be5970a 100644 --- a/offload/test/offloading/target_update_strided_struct_multiple_from.c +++ b/offload/test/offloading/target_update_strided_struct_multiple_from.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu // This test checks that #pragma omp target update from(s1.data[0:6:2], // s2.data[0:4:3]) correctly updates strided sections covering the full arrays // from device to host. diff --git a/offload/test/offloading/target_update_strided_struct_multiple_to.c b/offload/test/offloading/target_update_strided_struct_multiple_to.c index 69c401515358..182b40cb06b3 100644 --- a/offload/test/offloading/target_update_strided_struct_multiple_to.c +++ b/offload/test/offloading/target_update_strided_struct_multiple_to.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu // This test checks that #pragma omp target update to(s1.data[0:6:2], // s2.data[0:4:3]) correctly updates strided sections covering the full arrays // from host to device. diff --git a/offload/test/offloading/target_update_strided_struct_partial_from.c b/offload/test/offloading/target_update_strided_struct_partial_from.c index c0ffc72f900a..fb852c07f023 100644 --- a/offload/test/offloading/target_update_strided_struct_partial_from.c +++ b/offload/test/offloading/target_update_strided_struct_partial_from.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu // This test checks that #pragma omp target update from(s.data[0:2:3]) correctly // updates every third element (stride 3) from the device to the host // using a struct with fixed-size array member. diff --git a/offload/test/offloading/target_update_strided_struct_partial_to.c b/offload/test/offloading/target_update_strided_struct_partial_to.c index 018dcac7cdcf..35c52ea2db20 100644 --- a/offload/test/offloading/target_update_strided_struct_partial_to.c +++ b/offload/test/offloading/target_update_strided_struct_partial_to.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu // This test checks that #pragma omp target update to(s.data[0:2:3]) correctly // updates every third element (stride 3) from the host to the device // for struct member arrays. diff --git a/offload/test/offloading/target_update_strided_struct_to.c b/offload/test/offloading/target_update_strided_struct_to.c index 90b3a5fe2698..3c02232df280 100644 --- a/offload/test/offloading/target_update_strided_struct_to.c +++ b/offload/test/offloading/target_update_strided_struct_to.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu // This test checks that "update to" with struct member arrays supports strided // sections using fixed-size arrays in structs. diff --git a/offload/test/offloading/target_update_to.c b/offload/test/offloading/target_update_to.c index d45d3182a166..ca4984850a49 100644 --- a/offload/test/offloading/target_update_to.c +++ b/offload/test/offloading/target_update_to.c @@ -1,4 +1,5 @@ // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu // This test checks that "update to" clause in OpenMP supports strided sections. // #pragma omp target update to(result[0:8:2]) updates every other element // (stride 2) diff --git a/offload/test/offloading/task_in_reduction_target.c b/offload/test/offloading/task_in_reduction_target.c index b546d73d544a..6aeb805a0a9a 100644 --- a/offload/test/offloading/task_in_reduction_target.c +++ b/offload/test/offloading/task_in_reduction_target.c @@ -1,5 +1,6 @@ // RUN: %libomptarget-compile-generic && \ // RUN: %libomptarget-run-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/taskloop_offload_nowait.cpp b/offload/test/offloading/taskloop_offload_nowait.cpp index 26a40298eea3..4d7ca1b524da 100644 --- a/offload/test/offloading/taskloop_offload_nowait.cpp +++ b/offload/test/offloading/taskloop_offload_nowait.cpp @@ -1,6 +1,7 @@ // RUN: %libomptarget-compilexx-and-run-generic // REQUIRES: gpu +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/test_libc.cpp b/offload/test/offloading/test_libc.cpp index 859c2da97de0..08dd1a998d6c 100644 --- a/offload/test/offloading/test_libc.cpp +++ b/offload/test/offloading/test_libc.cpp @@ -1,4 +1,5 @@ // RUN: %libomptarget-compilexx-run-and-check-generic +// XFAIL: intelgpu #include diff --git a/offload/test/offloading/thread_limit.c b/offload/test/offloading/thread_limit.c index 72fa0b218a3c..34c952175f8b 100644 --- a/offload/test/offloading/thread_limit.c +++ b/offload/test/offloading/thread_limit.c @@ -6,6 +6,7 @@ // UNSUPPORTED: nvptx64-nvidia-cuda // UNSUPPORTED: nvptx64-nvidia-cuda-LTO // REQUIRES: gpu +// XFAIL: intelgpu int main() { int n = 1 << 20; diff --git a/offload/test/offloading/thread_state_1.c b/offload/test/offloading/thread_state_1.c index 908b71638097..404ed6812928 100644 --- a/offload/test/offloading/thread_state_1.c +++ b/offload/test/offloading/thread_state_1.c @@ -1,5 +1,6 @@ // RUN: %libomptarget-compile-run-and-check-generic // RUN: %libomptarget-compileopt-run-and-check-generic +// XFAIL: intelgpu #include #include diff --git a/offload/test/offloading/thread_state_2.c b/offload/test/offloading/thread_state_2.c index 38bc86b7ad0c..d40b987883c8 100644 --- a/offload/test/offloading/thread_state_2.c +++ b/offload/test/offloading/thread_state_2.c @@ -1,5 +1,6 @@ // This fails when optimized for now. // RUN: %libomptarget-compile-run-and-check-generic +// XFAIL: intelgpu // XUN: %libomptarget-compileopt-run-and-check-generic #include diff --git a/offload/test/offloading/weak.c b/offload/test/offloading/weak.c index ca81db958356..52110b069f37 100644 --- a/offload/test/offloading/weak.c +++ b/offload/test/offloading/weak.c @@ -2,6 +2,7 @@ // RUN: %libomptarget-compile-generic -DB -c -o %t-b.o // RUN: %libomptarget-compile-generic %t-a.o %t-b.o && \ // RUN: %libomptarget-run-generic | %fcheck-generic +// XFAIL: intelgpu #if defined(A) __attribute__((weak)) int x = 999; diff --git a/offload/test/offloading/workshare_chunk.c b/offload/test/offloading/workshare_chunk.c index a6845bf4facc..551cc8d997cf 100644 --- a/offload/test/offloading/workshare_chunk.c +++ b/offload/test/offloading/workshare_chunk.c @@ -2,6 +2,7 @@ // RUN: %libomptarget-compileopt-run-and-check-generic // REQUIRES: gpu +// XFAIL: intelgpu // clang-format off diff --git a/offload/test/offloading/wtime.c b/offload/test/offloading/wtime.c index 8a6e206061e2..6dcd9234faa4 100644 --- a/offload/test/offloading/wtime.c +++ b/offload/test/offloading/wtime.c @@ -1,6 +1,7 @@ // RUN: %libomptarget-compileopt-and-run-generic // UNSUPPORTED: amdgcn-amd-amdhsa +// XFAIL: intelgpu #include #include diff --git a/offload/test/ompt/veccopy.c b/offload/test/ompt/veccopy.c index 24d7363e6559..c11bea96c794 100644 --- a/offload/test/ompt/veccopy.c +++ b/offload/test/ompt/veccopy.c @@ -2,6 +2,7 @@ // RUN: %libomptarget-compile-run-and-check-generic // REQUIRES: ompt // REQUIRES: gpu +// XFAIL: intelgpu // clang-format on /* diff --git a/offload/test/ompt/veccopy_data.c b/offload/test/ompt/veccopy_data.c index 9df5374193e9..2e470613c3c6 100644 --- a/offload/test/ompt/veccopy_data.c +++ b/offload/test/ompt/veccopy_data.c @@ -2,6 +2,7 @@ // RUN: %libomptarget-compile-run-and-check-generic // REQUIRES: ompt // REQUIRES: gpu +// XFAIL: intelgpu // clang-format on /* diff --git a/offload/test/ompt/veccopy_disallow_both.c b/offload/test/ompt/veccopy_disallow_both.c index bfc67c5f4d27..f0ce983dc569 100644 --- a/offload/test/ompt/veccopy_disallow_both.c +++ b/offload/test/ompt/veccopy_disallow_both.c @@ -2,6 +2,7 @@ // RUN: %libomptarget-compile-run-and-check-generic // REQUIRES: ompt // REQUIRES: gpu +// XFAIL: intelgpu // clang-format on /* diff --git a/offload/test/ompt/veccopy_emi.c b/offload/test/ompt/veccopy_emi.c index a1427b86a58f..d8af117bec02 100644 --- a/offload/test/ompt/veccopy_emi.c +++ b/offload/test/ompt/veccopy_emi.c @@ -2,6 +2,7 @@ // RUN: %libomptarget-compile-run-and-check-generic // REQUIRES: ompt // REQUIRES: gpu +// XFAIL: intelgpu // clang-format on /* diff --git a/offload/test/ompt/veccopy_emi_map.c b/offload/test/ompt/veccopy_emi_map.c index 450faa1f28b0..2bb8ad67c909 100644 --- a/offload/test/ompt/veccopy_emi_map.c +++ b/offload/test/ompt/veccopy_emi_map.c @@ -2,6 +2,7 @@ // RUN: %libomptarget-compile-run-and-check-generic // REQUIRES: ompt // REQUIRES: gpu +// XFAIL: intelgpu // clang-format on /* diff --git a/offload/test/ompt/veccopy_map.c b/offload/test/ompt/veccopy_map.c index 12e141ea74d0..26ed9611fe82 100644 --- a/offload/test/ompt/veccopy_map.c +++ b/offload/test/ompt/veccopy_map.c @@ -2,6 +2,7 @@ // RUN: %libomptarget-compile-run-and-check-generic // REQUIRES: ompt // REQUIRES: gpu +// XFAIL: intelgpu // clang-format on /* diff --git a/offload/test/ompt/veccopy_no_device_init.c b/offload/test/ompt/veccopy_no_device_init.c index ade06fcc9229..4025919daeeb 100644 --- a/offload/test/ompt/veccopy_no_device_init.c +++ b/offload/test/ompt/veccopy_no_device_init.c @@ -1,6 +1,7 @@ // clang-format off // RUN: %libomptarget-compile-run-and-check-generic // REQUIRES: ompt +// XFAIL: intelgpu // clang-format on /* diff --git a/offload/test/ompt/veccopy_wrong_return.c b/offload/test/ompt/veccopy_wrong_return.c index 17327f355381..dc5ea7e6acf5 100644 --- a/offload/test/ompt/veccopy_wrong_return.c +++ b/offload/test/ompt/veccopy_wrong_return.c @@ -1,6 +1,7 @@ // clang-format off // RUN: %libomptarget-compile-run-and-check-generic // REQUIRES: ompt +// XFAIL: intelgpu // clang-format on /* diff --git a/offload/test/sanitizer/double_free.c b/offload/test/sanitizer/double_free.c index c229e0297d0e..7b8f5b6888ae 100644 --- a/offload/test/sanitizer/double_free.c +++ b/offload/test/sanitizer/double_free.c @@ -11,6 +11,7 @@ // UNSUPPORTED: x86_64-unknown-linux-gnu-LTO // UNSUPPORTED: s390x-ibm-linux-gnu // UNSUPPORTED: s390x-ibm-linux-gnu-LTO +// XFAIL: intelgpu #include diff --git a/offload/test/sanitizer/double_free_racy.c b/offload/test/sanitizer/double_free_racy.c index 845b479c3fb1..212ccca4735c 100644 --- a/offload/test/sanitizer/double_free_racy.c +++ b/offload/test/sanitizer/double_free_racy.c @@ -11,6 +11,7 @@ // UNSUPPORTED: x86_64-unknown-linux-gnu-LTO // UNSUPPORTED: s390x-ibm-linux-gnu // UNSUPPORTED: s390x-ibm-linux-gnu-LTO +// UNSUPPORTED: intelgpu #include diff --git a/offload/test/sanitizer/free_host_ptr.c b/offload/test/sanitizer/free_host_ptr.c index 81653080cabf..f0019ca3c701 100644 --- a/offload/test/sanitizer/free_host_ptr.c +++ b/offload/test/sanitizer/free_host_ptr.c @@ -11,6 +11,7 @@ // UNSUPPORTED: x86_64-unknown-linux-gnu-LTO // UNSUPPORTED: s390x-ibm-linux-gnu // UNSUPPORTED: s390x-ibm-linux-gnu-LTO +// XFAIL: intelgpu #include diff --git a/offload/test/sanitizer/free_wrong_ptr_kind.c b/offload/test/sanitizer/free_wrong_ptr_kind.c index aeec00162f60..cd2903c576d3 100644 --- a/offload/test/sanitizer/free_wrong_ptr_kind.c +++ b/offload/test/sanitizer/free_wrong_ptr_kind.c @@ -11,6 +11,7 @@ // UNSUPPORTED: x86_64-unknown-linux-gnu-LTO // UNSUPPORTED: s390x-ibm-linux-gnu // UNSUPPORTED: s390x-ibm-linux-gnu-LTO +// XFAIL: intelgpu #include diff --git a/offload/test/sanitizer/free_wrong_ptr_kind.cpp b/offload/test/sanitizer/free_wrong_ptr_kind.cpp index b801abc37199..52f0208a28e3 100644 --- a/offload/test/sanitizer/free_wrong_ptr_kind.cpp +++ b/offload/test/sanitizer/free_wrong_ptr_kind.cpp @@ -11,6 +11,7 @@ // UNSUPPORTED: x86_64-unknown-linux-gnu-LTO // UNSUPPORTED: s390x-ibm-linux-gnu // UNSUPPORTED: s390x-ibm-linux-gnu-LTO +// XFAIL: intelgpu #include diff --git a/offload/test/sanitizer/kernel_crash.c b/offload/test/sanitizer/kernel_crash.c index 1406af47c7ba..9c29a157acda 100644 --- a/offload/test/sanitizer/kernel_crash.c +++ b/offload/test/sanitizer/kernel_crash.c @@ -15,6 +15,7 @@ // UNSUPPORTED: x86_64-unknown-linux-gnu-LTO // UNSUPPORTED: s390x-ibm-linux-gnu // UNSUPPORTED: s390x-ibm-linux-gnu-LTO +// XFAIL: intelgpu #include diff --git a/offload/test/sanitizer/kernel_crash_async.c b/offload/test/sanitizer/kernel_crash_async.c index d51418f81788..a311ab6704bd 100644 --- a/offload/test/sanitizer/kernel_crash_async.c +++ b/offload/test/sanitizer/kernel_crash_async.c @@ -15,6 +15,7 @@ // UNSUPPORTED: x86_64-unknown-linux-gnu-LTO // UNSUPPORTED: s390x-ibm-linux-gnu // UNSUPPORTED: s390x-ibm-linux-gnu-LTO +// XFAIL: intelgpu #include diff --git a/offload/test/sanitizer/kernel_crash_many.c b/offload/test/sanitizer/kernel_crash_many.c index f1d17ca2b76e..44fe7d24c715 100644 --- a/offload/test/sanitizer/kernel_crash_many.c +++ b/offload/test/sanitizer/kernel_crash_many.c @@ -13,6 +13,7 @@ // UNSUPPORTED: x86_64-unknown-linux-gnu-LTO // UNSUPPORTED: s390x-ibm-linux-gnu // UNSUPPORTED: s390x-ibm-linux-gnu-LTO +// XFAIL: intelgpu #include diff --git a/offload/test/sanitizer/kernel_crash_single.c b/offload/test/sanitizer/kernel_crash_single.c index 8baa0a850bf1..67e3f876c418 100644 --- a/offload/test/sanitizer/kernel_crash_single.c +++ b/offload/test/sanitizer/kernel_crash_single.c @@ -15,6 +15,7 @@ // UNSUPPORTED: x86_64-unknown-linux-gnu-LTO // UNSUPPORTED: s390x-ibm-linux-gnu // UNSUPPORTED: s390x-ibm-linux-gnu-LTO +// XFAIL: intelgpu #include diff --git a/offload/test/sanitizer/kernel_trap.c b/offload/test/sanitizer/kernel_trap.c index 7a166bfda5ee..05a0dd73977b 100644 --- a/offload/test/sanitizer/kernel_trap.c +++ b/offload/test/sanitizer/kernel_trap.c @@ -16,6 +16,7 @@ // UNSUPPORTED: x86_64-unknown-linux-gnu-LTO // UNSUPPORTED: s390x-ibm-linux-gnu // UNSUPPORTED: s390x-ibm-linux-gnu-LTO +// XFAIL: intelgpu #include diff --git a/offload/test/sanitizer/kernel_trap.cpp b/offload/test/sanitizer/kernel_trap.cpp index c67b3857fabb..2b9a18ef2b5d 100644 --- a/offload/test/sanitizer/kernel_trap.cpp +++ b/offload/test/sanitizer/kernel_trap.cpp @@ -16,6 +16,7 @@ // UNSUPPORTED: x86_64-unknown-linux-gnu-LTO // UNSUPPORTED: s390x-ibm-linux-gnu // UNSUPPORTED: s390x-ibm-linux-gnu-LTO +// XFAIL: intelgpu struct S {}; diff --git a/offload/test/sanitizer/kernel_trap_async.c b/offload/test/sanitizer/kernel_trap_async.c index 391ff0c7dcaa..92b2028a8c72 100644 --- a/offload/test/sanitizer/kernel_trap_async.c +++ b/offload/test/sanitizer/kernel_trap_async.c @@ -16,6 +16,7 @@ // UNSUPPORTED: x86_64-unknown-linux-gnu-LTO // UNSUPPORTED: s390x-ibm-linux-gnu // UNSUPPORTED: s390x-ibm-linux-gnu-LTO +// XFAIL: intelgpu #include diff --git a/offload/test/sanitizer/kernel_trap_many.c b/offload/test/sanitizer/kernel_trap_many.c index f2e63794168b..2a9c34745e86 100644 --- a/offload/test/sanitizer/kernel_trap_many.c +++ b/offload/test/sanitizer/kernel_trap_many.c @@ -13,6 +13,7 @@ // UNSUPPORTED: x86_64-unknown-linux-gnu-LTO // UNSUPPORTED: s390x-ibm-linux-gnu // UNSUPPORTED: s390x-ibm-linux-gnu-LTO +// XFAIL: intelgpu #include diff --git a/offload/test/sanitizer/ptr_outside_alloc_1.c b/offload/test/sanitizer/ptr_outside_alloc_1.c index b30ce12ef1ea..d6e15b3aecb0 100644 --- a/offload/test/sanitizer/ptr_outside_alloc_1.c +++ b/offload/test/sanitizer/ptr_outside_alloc_1.c @@ -9,6 +9,7 @@ // UNSUPPORTED: nvidiagpu // // REQUIRES: gpu +// XFAIL: intelgpu #include diff --git a/offload/test/sanitizer/ptr_outside_alloc_2.c b/offload/test/sanitizer/ptr_outside_alloc_2.c index 3bb8bdaca8b4..0d49729f78c1 100644 --- a/offload/test/sanitizer/ptr_outside_alloc_2.c +++ b/offload/test/sanitizer/ptr_outside_alloc_2.c @@ -7,6 +7,7 @@ // UNSUPPORTED: nvidiagpu // // REQUIRES: gpu +// XFAIL: intelgpu #include diff --git a/offload/test/sanitizer/use_after_free_1.c b/offload/test/sanitizer/use_after_free_1.c index acc1de373f9e..927e54ddab2b 100644 --- a/offload/test/sanitizer/use_after_free_1.c +++ b/offload/test/sanitizer/use_after_free_1.c @@ -9,6 +9,7 @@ // UNSUPPORTED: nvidiagpu // // REQUIRES: gpu +// XFAIL: intelgpu #include diff --git a/offload/test/sanitizer/use_after_free_2.c b/offload/test/sanitizer/use_after_free_2.c index 3d70fb7b3a3f..ece0cfe60875 100644 --- a/offload/test/sanitizer/use_after_free_2.c +++ b/offload/test/sanitizer/use_after_free_2.c @@ -7,6 +7,7 @@ // UNSUPPORTED: nvidiagpu // // REQUIRES: gpu +// XFAIL: intelgpu // If offload memory pooling is enabled for a large allocation, reuse error is // not detected. UNSUPPORTED: large_allocation_memory_pool diff --git a/offload/test/tools/llvm-omp-device-info.c b/offload/test/tools/llvm-omp-device-info.c index 1ce8d4ac07f6..6900b79242b2 100644 --- a/offload/test/tools/llvm-omp-device-info.c +++ b/offload/test/tools/llvm-omp-device-info.c @@ -1,4 +1,5 @@ // RUN: %offload-device-info | %fcheck-generic +// XFAIL: intelgpu // // Just check any device was found and something is printed // diff --git a/offload/test/unified_shared_memory/api.c b/offload/test/unified_shared_memory/api.c index b938971b4b03..243060b4e55d 100644 --- a/offload/test/unified_shared_memory/api.c +++ b/offload/test/unified_shared_memory/api.c @@ -5,6 +5,7 @@ // XFAIL: nvptx64-nvidia-cuda-LTO // REQUIRES: unified_shared_memory +// XFAIL: intelgpu #include #include diff --git a/offload/test/unified_shared_memory/associate_ptr.c b/offload/test/unified_shared_memory/associate_ptr.c index 0e9d25cd7354..08975ebef002 100644 --- a/offload/test/unified_shared_memory/associate_ptr.c +++ b/offload/test/unified_shared_memory/associate_ptr.c @@ -2,6 +2,7 @@ // REQUIRES: unified_shared_memory // UNSUPPORTED: clang-6, clang-7, clang-8, clang-9 +// XFAIL: intelgpu #include #include diff --git a/offload/test/unified_shared_memory/close_enter_exit.c b/offload/test/unified_shared_memory/close_enter_exit.c index b116c652f47e..f040039f6b1a 100644 --- a/offload/test/unified_shared_memory/close_enter_exit.c +++ b/offload/test/unified_shared_memory/close_enter_exit.c @@ -8,6 +8,7 @@ // Fails on nvptx with error: an illegal memory access was encountered // XFAIL: nvptx64-nvidia-cuda // XFAIL: nvptx64-nvidia-cuda-LTO +// XFAIL: intelgpu #include #include diff --git a/offload/test/unified_shared_memory/close_manual.c b/offload/test/unified_shared_memory/close_manual.c index c588cb1c403a..d3f513c333e8 100644 --- a/offload/test/unified_shared_memory/close_manual.c +++ b/offload/test/unified_shared_memory/close_manual.c @@ -1,6 +1,7 @@ // RUN: %libomptarget-compile-run-and-check-generic // REQUIRES: unified_shared_memory +// XFAIL: intelgpu #include #include diff --git a/offload/test/unified_shared_memory/close_member.c b/offload/test/unified_shared_memory/close_member.c index 10ec42e90b02..d4743a587231 100644 --- a/offload/test/unified_shared_memory/close_member.c +++ b/offload/test/unified_shared_memory/close_member.c @@ -2,6 +2,7 @@ // REQUIRES: unified_shared_memory // UNSUPPORTED: clang-6, clang-7, clang-8, clang-9 +// XFAIL: intelgpu #include #include diff --git a/offload/test/unified_shared_memory/close_modifier.c b/offload/test/unified_shared_memory/close_modifier.c index 7ca815db3ad8..aaa45c1a5d8a 100644 --- a/offload/test/unified_shared_memory/close_modifier.c +++ b/offload/test/unified_shared_memory/close_modifier.c @@ -8,6 +8,7 @@ // UNSUPPORTED: amdgcn-amd-amdhsa // UNSUPPORTED: nvptx64-nvidia-cuda // UNSUPPORTED: nvptx64-nvidia-cuda-LTO +// XFAIL: intelgpu #include #include diff --git a/offload/test/unified_shared_memory/shared_update.c b/offload/test/unified_shared_memory/shared_update.c index f8eb11d56a6c..24e9b3b23083 100644 --- a/offload/test/unified_shared_memory/shared_update.c +++ b/offload/test/unified_shared_memory/shared_update.c @@ -7,6 +7,7 @@ // UNSUPPORTED: amdgcn-amd-amdhsa // UNSUPPORTED: nvptx64-nvidia-cuda // UNSUPPORTED: nvptx64-nvidia-cuda-LTO +// XFAIL: intelgpu #include #include