[all-commits] [llvm/llvm-project] 24f836: [OpenMP][libomptarget] Separate lit tests for diff...

Joachim via All-commits all-commits at lists.llvm.org
Tue Apr 27 06:55:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24f836e8fd6f5c562318775d8154d4c561bae427
      https://github.com/llvm/llvm-project/commit/24f836e8fd6f5c562318775d8154d4c561bae427
  Author: Joachim Protze <protze at itc.rwth-aachen.de>
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
    M openmp/libomptarget/test/api/is_initial_device.c
    M openmp/libomptarget/test/api/omp_get_num_devices.c
    M openmp/libomptarget/test/api/omp_get_num_devices_with_empty_target.c
    M openmp/libomptarget/test/env/base_ptr_ref_count.c
    M openmp/libomptarget/test/env/omp_target_debug.c
    M openmp/libomptarget/test/lit.cfg
    M openmp/libomptarget/test/mapping/alloc_fail.c
    M openmp/libomptarget/test/mapping/data_absent_at_exit.c
    M openmp/libomptarget/test/mapping/data_member_ref.cpp
    M openmp/libomptarget/test/mapping/declare_mapper_api.cpp
    M openmp/libomptarget/test/mapping/declare_mapper_nested_default_mappers.cpp
    M openmp/libomptarget/test/mapping/declare_mapper_nested_mappers.cpp
    M openmp/libomptarget/test/mapping/declare_mapper_target.cpp
    M openmp/libomptarget/test/mapping/declare_mapper_target_data.cpp
    M openmp/libomptarget/test/mapping/declare_mapper_target_data_enter_exit.cpp
    M openmp/libomptarget/test/mapping/declare_mapper_target_update.cpp
    M openmp/libomptarget/test/mapping/delete_inf_refcount.c
    M openmp/libomptarget/test/mapping/lambda_mapping.cpp
    M openmp/libomptarget/test/mapping/pr38704.c
    M openmp/libomptarget/test/mapping/present/target.c
    M openmp/libomptarget/test/mapping/present/target_array_extension.c
    M openmp/libomptarget/test/mapping/present/target_data.c
    M openmp/libomptarget/test/mapping/present/target_data_array_extension.c
    M openmp/libomptarget/test/mapping/present/target_data_at_exit.c
    M openmp/libomptarget/test/mapping/present/target_enter_data.c
    M openmp/libomptarget/test/mapping/present/target_exit_data_delete.c
    M openmp/libomptarget/test/mapping/present/target_exit_data_release.c
    M openmp/libomptarget/test/mapping/present/target_update.c
    M openmp/libomptarget/test/mapping/present/target_update_array_extension.c
    M openmp/libomptarget/test/mapping/present/unified_shared_memory.c
    M openmp/libomptarget/test/mapping/present/zero_length_array_section.c
    M openmp/libomptarget/test/mapping/present/zero_length_array_section_exit.c
    M openmp/libomptarget/test/mapping/private_mapping.c
    M openmp/libomptarget/test/mapping/ptr_and_obj_motion.c
    M openmp/libomptarget/test/mapping/target_data_array_extension_at_exit.c
    M openmp/libomptarget/test/mapping/target_implicit_partial_map.c
    M openmp/libomptarget/test/mapping/target_update_array_extension.c
    M openmp/libomptarget/test/offloading/assert.cpp
    M openmp/libomptarget/test/offloading/bug47654.cpp
    M openmp/libomptarget/test/offloading/bug49021.cpp
    M openmp/libomptarget/test/offloading/bug49334.cpp
    M openmp/libomptarget/test/offloading/d2d_memcpy.c
    M openmp/libomptarget/test/offloading/dynamic_module.c
    M openmp/libomptarget/test/offloading/dynamic_module_load.c
    M openmp/libomptarget/test/offloading/host_as_target.c
    M openmp/libomptarget/test/offloading/info.c
    M openmp/libomptarget/test/offloading/lone_target_exit_data.c
    M openmp/libomptarget/test/offloading/looptripcnt.c
    M openmp/libomptarget/test/offloading/mandatory_but_no_devices.c
    M openmp/libomptarget/test/offloading/memory_manager.cpp
    M openmp/libomptarget/test/offloading/non_contiguous_update.cpp
    M openmp/libomptarget/test/offloading/offloading_success.c
    M openmp/libomptarget/test/offloading/offloading_success.cpp
    M openmp/libomptarget/test/offloading/parallel_offloading_map.cpp
    M openmp/libomptarget/test/offloading/requires.c
    M openmp/libomptarget/test/offloading/target_depend_nowait.cpp
    M openmp/libomptarget/test/unified_shared_memory/api.c
    M openmp/libomptarget/test/unified_shared_memory/close_enter_exit.c
    M openmp/libomptarget/test/unified_shared_memory/close_manual.c
    M openmp/libomptarget/test/unified_shared_memory/close_modifier.c
    M openmp/libomptarget/test/unified_shared_memory/shared_update.c

  Log Message:
  -----------
  [OpenMP][libomptarget] Separate lit tests for different offloading targets (2/2)

This patch fuses the RUN lines for most libomptarget tests. The previous patch
D101315 created separate test targets for each supported offloading triple.

This patch updates the RUN lines in libomptarget tests to use a generic run
line independent of the offloading target selected for the lit instance.

In cases, where no RUN line was defined for a specific offloading target,
the corresponding target is declared as XFAIL. If it turns out that a test
actually supports the target, the XFAIL line can be removed.

Differential Revision: https://reviews.llvm.org/D101326




More information about the All-commits mailing list