[all-commits] [llvm/llvm-project] 330d89: [Offload] Move `/openmp/libomptarget` to `/offload...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Apr 22 09:51:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 330d8983d25d08580fc1642fea48b2473f47a9da
      https://github.com/llvm/llvm-project/commit/330d8983d25d08580fc1642fea48b2473f47a9da
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

  Changed paths:
    M llvm/CMakeLists.txt
    A offload/CMakeLists.txt
    A offload/DeviceRTL/CMakeLists.txt
    A offload/DeviceRTL/include/Allocator.h
    A offload/DeviceRTL/include/Configuration.h
    A offload/DeviceRTL/include/Debug.h
    A offload/DeviceRTL/include/Interface.h
    A offload/DeviceRTL/include/LibC.h
    A offload/DeviceRTL/include/Mapping.h
    A offload/DeviceRTL/include/State.h
    A offload/DeviceRTL/include/Synchronization.h
    A offload/DeviceRTL/include/Types.h
    A offload/DeviceRTL/include/Utils.h
    A offload/DeviceRTL/include/generated_microtask_cases.gen
    A offload/DeviceRTL/src/Allocator.cpp
    A offload/DeviceRTL/src/Configuration.cpp
    A offload/DeviceRTL/src/Debug.cpp
    A offload/DeviceRTL/src/Kernel.cpp
    A offload/DeviceRTL/src/LibC.cpp
    A offload/DeviceRTL/src/Mapping.cpp
    A offload/DeviceRTL/src/Misc.cpp
    A offload/DeviceRTL/src/Parallelism.cpp
    A offload/DeviceRTL/src/Reduction.cpp
    A offload/DeviceRTL/src/State.cpp
    A offload/DeviceRTL/src/Stub.cpp
    A offload/DeviceRTL/src/Synchronization.cpp
    A offload/DeviceRTL/src/Tasking.cpp
    A offload/DeviceRTL/src/Utils.cpp
    A offload/DeviceRTL/src/Workshare.cpp
    A offload/DeviceRTL/src/exports
    A offload/README.txt
    A offload/cmake/Modules/LibomptargetGetDependencies.cmake
    A offload/cmake/Modules/LibomptargetUtils.cmake
    A offload/cmake/OpenMPTesting.cmake
    A offload/docs/declare_target_indirect.md
    A offload/include/DeviceImage.h
    A offload/include/ExclusiveAccess.h
    A offload/include/OffloadEntry.h
    A offload/include/OffloadPolicy.h
    A offload/include/OpenMP/InternalTypes.h
    A offload/include/OpenMP/InteropAPI.h
    A offload/include/OpenMP/Mapping.h
    A offload/include/OpenMP/OMPT/Callback.h
    A offload/include/OpenMP/OMPT/Connector.h
    A offload/include/OpenMP/OMPT/Interface.h
    A offload/include/OpenMP/omp.h
    A offload/include/PluginManager.h
    A offload/include/Shared/APITypes.h
    A offload/include/Shared/Debug.h
    A offload/include/Shared/Environment.h
    A offload/include/Shared/EnvironmentVar.h
    A offload/include/Shared/PluginAPI.h
    A offload/include/Shared/PluginAPI.inc
    A offload/include/Shared/Profile.h
    A offload/include/Shared/Requirements.h
    A offload/include/Shared/SourceInfo.h
    A offload/include/Shared/Utils.h
    A offload/include/Utils/ExponentialBackoff.h
    A offload/include/device.h
    A offload/include/omptarget.h
    A offload/include/rtl.h
    A offload/plugins-nextgen/CMakeLists.txt
    A offload/plugins-nextgen/amdgpu/CMakeLists.txt
    A offload/plugins-nextgen/amdgpu/dynamic_hsa/hsa.cpp
    A offload/plugins-nextgen/amdgpu/dynamic_hsa/hsa.h
    A offload/plugins-nextgen/amdgpu/dynamic_hsa/hsa_ext_amd.h
    A offload/plugins-nextgen/amdgpu/src/rtl.cpp
    A offload/plugins-nextgen/amdgpu/utils/UtilitiesRTL.h
    A offload/plugins-nextgen/common/CMakeLists.txt
    A offload/plugins-nextgen/common/OMPT/OmptCallback.cpp
    A offload/plugins-nextgen/common/include/DLWrap.h
    A offload/plugins-nextgen/common/include/GlobalHandler.h
    A offload/plugins-nextgen/common/include/JIT.h
    A offload/plugins-nextgen/common/include/MemoryManager.h
    A offload/plugins-nextgen/common/include/PluginInterface.h
    A offload/plugins-nextgen/common/include/RPC.h
    A offload/plugins-nextgen/common/include/Utils/ELF.h
    A offload/plugins-nextgen/common/src/GlobalHandler.cpp
    A offload/plugins-nextgen/common/src/JIT.cpp
    A offload/plugins-nextgen/common/src/PluginInterface.cpp
    A offload/plugins-nextgen/common/src/RPC.cpp
    A offload/plugins-nextgen/common/src/Utils/ELF.cpp
    A offload/plugins-nextgen/cuda/CMakeLists.txt
    A offload/plugins-nextgen/cuda/dynamic_cuda/cuda.cpp
    A offload/plugins-nextgen/cuda/dynamic_cuda/cuda.h
    A offload/plugins-nextgen/cuda/src/rtl.cpp
    A offload/plugins-nextgen/exports
    A offload/plugins-nextgen/host/CMakeLists.txt
    A offload/plugins-nextgen/host/dynamic_ffi/ffi.cpp
    A offload/plugins-nextgen/host/dynamic_ffi/ffi.h
    A offload/plugins-nextgen/host/src/rtl.cpp
    A offload/src/CMakeLists.txt
    A offload/src/DeviceImage.cpp
    A offload/src/LegacyAPI.cpp
    A offload/src/OffloadRTL.cpp
    A offload/src/OpenMP/API.cpp
    A offload/src/OpenMP/InteropAPI.cpp
    A offload/src/OpenMP/Mapping.cpp
    A offload/src/OpenMP/OMPT/Callback.cpp
    A offload/src/PluginManager.cpp
    A offload/src/device.cpp
    A offload/src/exports
    A offload/src/interface.cpp
    A offload/src/omptarget.cpp
    A offload/src/private.h
    A offload/test/CMakeLists.txt
    A offload/test/Inputs/basic_array.f90
    A offload/test/Inputs/declare_indirect_func.c
    A offload/test/api/assert.c
    A offload/test/api/is_initial_device.c
    A offload/test/api/omp_device_managed_memory.c
    A offload/test/api/omp_device_managed_memory_alloc.c
    A offload/test/api/omp_device_memory.c
    A offload/test/api/omp_dynamic_shared_memory.c
    A offload/test/api/omp_dynamic_shared_memory_amdgpu.c
    A offload/test/api/omp_dynamic_shared_memory_mixed.inc
    A offload/test/api/omp_dynamic_shared_memory_mixed_amdgpu.c
    A offload/test/api/omp_dynamic_shared_memory_mixed_nvptx.c
    A offload/test/api/omp_env_vars.c
    A offload/test/api/omp_get_device_num.c
    A offload/test/api/omp_get_mapped_ptr.c
    A offload/test/api/omp_get_num_devices.c
    A offload/test/api/omp_get_num_devices_with_empty_target.c
    A offload/test/api/omp_get_num_procs.c
    A offload/test/api/omp_host_pinned_memory.c
    A offload/test/api/omp_host_pinned_memory_alloc.c
    A offload/test/api/omp_indirect_call.c
    A offload/test/api/omp_target_memcpy_async1.c
    A offload/test/api/omp_target_memcpy_async2.c
    A offload/test/api/omp_target_memcpy_rect_async1.c
    A offload/test/api/omp_target_memcpy_rect_async2.c
    A offload/test/api/omp_target_memset.c
    A offload/test/api/ompx_3d.c
    A offload/test/api/ompx_3d.cpp
    A offload/test/api/ompx_sync.c
    A offload/test/api/ompx_sync.cpp
    A offload/test/env/base_ptr_ref_count.c
    A offload/test/env/omp_target_debug.c
    A offload/test/jit/empty_kernel.inc
    A offload/test/jit/empty_kernel_lvl1.c
    A offload/test/jit/empty_kernel_lvl2.c
    A offload/test/jit/type_punning.c
    A offload/test/libc/assert.c
    A offload/test/libc/fwrite.c
    A offload/test/libc/global_ctor_dtor.cpp
    A offload/test/libc/host_call.c
    A offload/test/libc/malloc.c
    A offload/test/libc/puts.c
    A offload/test/lit.cfg
    A offload/test/lit.site.cfg.in
    A offload/test/mapping/alloc_fail.c
    A offload/test/mapping/array_section_implicit_capture.c
    A offload/test/mapping/array_section_use_device_ptr.c
    A offload/test/mapping/auto_zero_copy.cpp
    A offload/test/mapping/auto_zero_copy_apu.cpp
    A offload/test/mapping/auto_zero_copy_globals.cpp
    A offload/test/mapping/data_absent_at_exit.c
    A offload/test/mapping/data_member_ref.cpp
    A offload/test/mapping/declare_mapper_api.cpp
    A offload/test/mapping/declare_mapper_nested_default_mappers.cpp
    A offload/test/mapping/declare_mapper_nested_default_mappers_array.cpp
    A offload/test/mapping/declare_mapper_nested_default_mappers_array_subscript.cpp
    A offload/test/mapping/declare_mapper_nested_default_mappers_complex_structure.cpp
    A offload/test/mapping/declare_mapper_nested_default_mappers_ptr_subscript.cpp
    A offload/test/mapping/declare_mapper_nested_default_mappers_var.cpp
    A offload/test/mapping/declare_mapper_nested_mappers.cpp
    A offload/test/mapping/declare_mapper_target.cpp
    A offload/test/mapping/declare_mapper_target_data.cpp
    A offload/test/mapping/declare_mapper_target_data_enter_exit.cpp
    A offload/test/mapping/declare_mapper_target_update.cpp
    A offload/test/mapping/delete_inf_refcount.c
    A offload/test/mapping/device_ptr_update.c
    A offload/test/mapping/firstprivate_aligned.cpp
    A offload/test/mapping/has_device_addr.cpp
    A offload/test/mapping/implicit_device_ptr.c
    A offload/test/mapping/is_device_ptr.cpp
    A offload/test/mapping/lambda_by_value.cpp
    A offload/test/mapping/lambda_mapping.cpp
    A offload/test/mapping/low_alignment.c
    A offload/test/mapping/map_back_race.cpp
    A offload/test/mapping/ompx_hold/omp_target_disassociate_ptr.c
    A offload/test/mapping/ompx_hold/struct.c
    A offload/test/mapping/ompx_hold/target-data.c
    A offload/test/mapping/ompx_hold/target.c
    A offload/test/mapping/padding_not_mapped.c
    A offload/test/mapping/power_of_two_alignment.c
    A offload/test/mapping/pr38704.c
    A offload/test/mapping/prelock.cpp
    A offload/test/mapping/present/target.c
    A offload/test/mapping/present/target_array_extension.c
    A offload/test/mapping/present/target_data.c
    A offload/test/mapping/present/target_data_array_extension.c
    A offload/test/mapping/present/target_data_at_exit.c
    A offload/test/mapping/present/target_enter_data.c
    A offload/test/mapping/present/target_exit_data_delete.c
    A offload/test/mapping/present/target_exit_data_release.c
    A offload/test/mapping/present/target_update.c
    A offload/test/mapping/present/target_update_array_extension.c
    A offload/test/mapping/present/unified_shared_memory.c
    A offload/test/mapping/present/zero_length_array_section.c
    A offload/test/mapping/present/zero_length_array_section_exit.c
    A offload/test/mapping/private_mapping.c
    A offload/test/mapping/ptr_and_obj_motion.c
    A offload/test/mapping/reduction_implicit_map.cpp
    A offload/test/mapping/target_data_array_extension_at_exit.c
    A offload/test/mapping/target_derefence_array_pointrs.cpp
    A offload/test/mapping/target_has_device_addr.c
    A offload/test/mapping/target_implicit_partial_map.c
    A offload/test/mapping/target_map_for_member_data.cpp
    A offload/test/mapping/target_pointers_members_map.cpp
    A offload/test/mapping/target_update_array_extension.c
    A offload/test/mapping/target_use_device_addr.c
    A offload/test/mapping/target_uses_allocator.c
    A offload/test/mapping/target_wrong_use_device_addr.c
    A offload/test/offloading/assert.cpp
    A offload/test/offloading/atomic-compare-signedness.c
    A offload/test/offloading/back2back_distribute.c
    A offload/test/offloading/barrier_fence.c
    A offload/test/offloading/bug47654.cpp
    A offload/test/offloading/bug49021.cpp
    A offload/test/offloading/bug49334.cpp
    A offload/test/offloading/bug49779.cpp
    A offload/test/offloading/bug50022.cpp
    A offload/test/offloading/bug51781.c
    A offload/test/offloading/bug51982.c
    A offload/test/offloading/bug53727.cpp
    A offload/test/offloading/bug64959.c
    A offload/test/offloading/bug64959_compile_only.c
    A offload/test/offloading/bug74582.c
    A offload/test/offloading/complex_reduction.cpp
    A offload/test/offloading/ctor_dtor.cpp
    A offload/test/offloading/cuda_no_devices.c
    A offload/test/offloading/d2d_memcpy.c
    A offload/test/offloading/d2d_memcpy_sync.c
    A offload/test/offloading/default_thread_limit.c
    A offload/test/offloading/dynamic_module.c
    A offload/test/offloading/dynamic_module_load.c
    A offload/test/offloading/extern.c
    A offload/test/offloading/force-usm.cpp
    A offload/test/offloading/fortran/basic-target-parallel-do.f90
    A offload/test/offloading/fortran/basic-target-parallel-region.f90
    A offload/test/offloading/fortran/basic-target-region-1D-array-section.f90
    A offload/test/offloading/fortran/basic-target-region-3D-array-section.f90
    A offload/test/offloading/fortran/basic-target-region-3D-array.f90
    A offload/test/offloading/fortran/basic_array.c
    A offload/test/offloading/fortran/basic_target_region.f90
    A offload/test/offloading/fortran/constant-arr-index.f90
    A offload/test/offloading/fortran/declare-target-vars-in-target-region.f90
    A offload/test/offloading/fortran/double-target-call-with-declare-target.f90
    A offload/test/offloading/fortran/target-map-allocatable-array-section-1d-bounds.f90
    A offload/test/offloading/fortran/target-map-allocatable-array-section-3d-bounds.f90
    A offload/test/offloading/fortran/target-map-allocatable-map-scopes.f90
    A offload/test/offloading/fortran/target-map-enter-exit-allocatables.f90
    A offload/test/offloading/fortran/target-map-enter-exit-array-2.f90
    A offload/test/offloading/fortran/target-map-enter-exit-array-bounds.f90
    A offload/test/offloading/fortran/target-map-enter-exit-array.f90
    A offload/test/offloading/fortran/target-map-enter-exit-scalar.f90
    A offload/test/offloading/fortran/target-map-pointer-scopes-enter-exit.f90
    A offload/test/offloading/fortran/target-map-pointer-target-array-section-3d-bounds.f90
    A offload/test/offloading/fortran/target-map-pointer-target-scopes.f90
    A offload/test/offloading/fortran/target-nested-target-data.f90
    A offload/test/offloading/fortran/target-parallel-do-collapse.f90
    A offload/test/offloading/fortran/target-region-implicit-array.f90
    A offload/test/offloading/fortran/target_map_common_block.f90
    A offload/test/offloading/fortran/target_map_common_block1.f90
    A offload/test/offloading/fortran/target_map_common_block2.f90
    A offload/test/offloading/fortran/target_update.f90
    A offload/test/offloading/generic_multiple_parallel_regions.c
    A offload/test/offloading/global_constructor.cpp
    A offload/test/offloading/host_as_target.c
    A offload/test/offloading/indirect_fp_mapping.c
    A offload/test/offloading/info.c
    A offload/test/offloading/interop.c
    A offload/test/offloading/lone_target_exit_data.c
    A offload/test/offloading/looptripcnt.c
    A offload/test/offloading/malloc.c
    A offload/test/offloading/malloc_parallel.c
    A offload/test/offloading/mandatory_but_no_devices.c
    A offload/test/offloading/memory_manager.cpp
    A offload/test/offloading/multiple_reductions_simple.c
    A offload/test/offloading/non_contiguous_update.cpp
    A offload/test/offloading/offloading_success.c
    A offload/test/offloading/offloading_success.cpp
    A offload/test/offloading/ompx_bare.c
    A offload/test/offloading/ompx_coords.c
    A offload/test/offloading/ompx_saxpy_mixed.c
    A offload/test/offloading/parallel_offloading_map.cpp
    A offload/test/offloading/parallel_target_teams_reduction.cpp
    A offload/test/offloading/parallel_target_teams_reduction_max.cpp
    A offload/test/offloading/parallel_target_teams_reduction_min.cpp
    A offload/test/offloading/requires.c
    A offload/test/offloading/runtime_init.c
    A offload/test/offloading/shared_lib_fp_mapping.c
    A offload/test/offloading/small_trip_count.c
    A offload/test/offloading/small_trip_count_thread_limit.cpp
    A offload/test/offloading/spmdization.c
    A offload/test/offloading/static_linking.c
    A offload/test/offloading/std_complex_arithmetic.cpp
    A offload/test/offloading/struct_mapping_with_pointers.cpp
    A offload/test/offloading/target-teams-atomic.c
    A offload/test/offloading/target-tile.c
    A offload/test/offloading/target_constexpr_mapping.cpp
    A offload/test/offloading/target_critical_region.cpp
    A offload/test/offloading/target_depend_nowait.cpp
    A offload/test/offloading/target_map_for_member_data.cpp
    A offload/test/offloading/target_nowait_target.cpp
    A offload/test/offloading/task_in_reduction_target.c
    A offload/test/offloading/taskloop_offload_nowait.cpp
    A offload/test/offloading/test_libc.cpp
    A offload/test/offloading/thread_limit.c
    A offload/test/offloading/thread_state_1.c
    A offload/test/offloading/thread_state_2.c
    A offload/test/offloading/weak.c
    A offload/test/offloading/workshare_chunk.c
    A offload/test/offloading/wtime.c
    A offload/test/ompt/callbacks.h
    A offload/test/ompt/register_both.h
    A offload/test/ompt/register_emi.h
    A offload/test/ompt/register_emi_map.h
    A offload/test/ompt/register_no_device_init.h
    A offload/test/ompt/register_non_emi.h
    A offload/test/ompt/register_non_emi_map.h
    A offload/test/ompt/register_wrong_return.h
    A offload/test/ompt/target_memcpy.c
    A offload/test/ompt/target_memcpy_emi.c
    A offload/test/ompt/veccopy.c
    A offload/test/ompt/veccopy_data.c
    A offload/test/ompt/veccopy_disallow_both.c
    A offload/test/ompt/veccopy_emi.c
    A offload/test/ompt/veccopy_emi_map.c
    A offload/test/ompt/veccopy_map.c
    A offload/test/ompt/veccopy_no_device_init.c
    A offload/test/ompt/veccopy_wrong_return.c
    A offload/test/unified_shared_memory/api.c
    A offload/test/unified_shared_memory/associate_ptr.c
    A offload/test/unified_shared_memory/close_enter_exit.c
    A offload/test/unified_shared_memory/close_manual.c
    A offload/test/unified_shared_memory/close_member.c
    A offload/test/unified_shared_memory/close_modifier.c
    A offload/test/unified_shared_memory/shared_update.c
    A offload/tools/CMakeLists.txt
    A offload/tools/deviceinfo/CMakeLists.txt
    A offload/tools/deviceinfo/llvm-omp-device-info.cpp
    A offload/tools/kernelreplay/CMakeLists.txt
    A offload/tools/kernelreplay/llvm-omp-kernel-replay.cpp
    A offload/unittests/CMakeLists.txt
    A offload/unittests/Plugins/CMakeLists.txt
    A offload/unittests/Plugins/NextgenPluginsTest.cpp
    A offload/utils/generate_microtask_cases.py
    M openmp/CMakeLists.txt
    R openmp/libomptarget/CMakeLists.txt
    R openmp/libomptarget/DeviceRTL/CMakeLists.txt
    R openmp/libomptarget/DeviceRTL/include/Allocator.h
    R openmp/libomptarget/DeviceRTL/include/Configuration.h
    R openmp/libomptarget/DeviceRTL/include/Debug.h
    R openmp/libomptarget/DeviceRTL/include/Interface.h
    R openmp/libomptarget/DeviceRTL/include/LibC.h
    R openmp/libomptarget/DeviceRTL/include/Mapping.h
    R openmp/libomptarget/DeviceRTL/include/State.h
    R openmp/libomptarget/DeviceRTL/include/Synchronization.h
    R openmp/libomptarget/DeviceRTL/include/Types.h
    R openmp/libomptarget/DeviceRTL/include/Utils.h
    R openmp/libomptarget/DeviceRTL/include/generated_microtask_cases.gen
    R openmp/libomptarget/DeviceRTL/src/Allocator.cpp
    R openmp/libomptarget/DeviceRTL/src/Configuration.cpp
    R openmp/libomptarget/DeviceRTL/src/Debug.cpp
    R openmp/libomptarget/DeviceRTL/src/Kernel.cpp
    R openmp/libomptarget/DeviceRTL/src/LibC.cpp
    R openmp/libomptarget/DeviceRTL/src/Mapping.cpp
    R openmp/libomptarget/DeviceRTL/src/Misc.cpp
    R openmp/libomptarget/DeviceRTL/src/Parallelism.cpp
    R openmp/libomptarget/DeviceRTL/src/Reduction.cpp
    R openmp/libomptarget/DeviceRTL/src/State.cpp
    R openmp/libomptarget/DeviceRTL/src/Stub.cpp
    R openmp/libomptarget/DeviceRTL/src/Synchronization.cpp
    R openmp/libomptarget/DeviceRTL/src/Tasking.cpp
    R openmp/libomptarget/DeviceRTL/src/Utils.cpp
    R openmp/libomptarget/DeviceRTL/src/Workshare.cpp
    R openmp/libomptarget/DeviceRTL/src/exports
    R openmp/libomptarget/README.txt
    R openmp/libomptarget/cmake/Modules/LibomptargetGetDependencies.cmake
    R openmp/libomptarget/cmake/Modules/LibomptargetUtils.cmake
    R openmp/libomptarget/docs/declare_target_indirect.md
    R openmp/libomptarget/include/DeviceImage.h
    R openmp/libomptarget/include/ExclusiveAccess.h
    R openmp/libomptarget/include/OffloadEntry.h
    R openmp/libomptarget/include/OffloadPolicy.h
    R openmp/libomptarget/include/OpenMP/InternalTypes.h
    R openmp/libomptarget/include/OpenMP/InteropAPI.h
    R openmp/libomptarget/include/OpenMP/Mapping.h
    R openmp/libomptarget/include/OpenMP/OMPT/Callback.h
    R openmp/libomptarget/include/OpenMP/OMPT/Connector.h
    R openmp/libomptarget/include/OpenMP/OMPT/Interface.h
    R openmp/libomptarget/include/OpenMP/omp.h
    R openmp/libomptarget/include/PluginManager.h
    R openmp/libomptarget/include/Shared/APITypes.h
    R openmp/libomptarget/include/Shared/Debug.h
    R openmp/libomptarget/include/Shared/Environment.h
    R openmp/libomptarget/include/Shared/EnvironmentVar.h
    R openmp/libomptarget/include/Shared/PluginAPI.h
    R openmp/libomptarget/include/Shared/PluginAPI.inc
    R openmp/libomptarget/include/Shared/Profile.h
    R openmp/libomptarget/include/Shared/Requirements.h
    R openmp/libomptarget/include/Shared/SourceInfo.h
    R openmp/libomptarget/include/Shared/Utils.h
    R openmp/libomptarget/include/Utils/ExponentialBackoff.h
    R openmp/libomptarget/include/device.h
    R openmp/libomptarget/include/omptarget.h
    R openmp/libomptarget/include/rtl.h
    R openmp/libomptarget/plugins-nextgen/CMakeLists.txt
    R openmp/libomptarget/plugins-nextgen/amdgpu/CMakeLists.txt
    R openmp/libomptarget/plugins-nextgen/amdgpu/dynamic_hsa/hsa.cpp
    R openmp/libomptarget/plugins-nextgen/amdgpu/dynamic_hsa/hsa.h
    R openmp/libomptarget/plugins-nextgen/amdgpu/dynamic_hsa/hsa_ext_amd.h
    R openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
    R openmp/libomptarget/plugins-nextgen/amdgpu/utils/UtilitiesRTL.h
    R openmp/libomptarget/plugins-nextgen/common/CMakeLists.txt
    R openmp/libomptarget/plugins-nextgen/common/OMPT/OmptCallback.cpp
    R openmp/libomptarget/plugins-nextgen/common/include/DLWrap.h
    R openmp/libomptarget/plugins-nextgen/common/include/GlobalHandler.h
    R openmp/libomptarget/plugins-nextgen/common/include/JIT.h
    R openmp/libomptarget/plugins-nextgen/common/include/MemoryManager.h
    R openmp/libomptarget/plugins-nextgen/common/include/PluginInterface.h
    R openmp/libomptarget/plugins-nextgen/common/include/RPC.h
    R openmp/libomptarget/plugins-nextgen/common/include/Utils/ELF.h
    R openmp/libomptarget/plugins-nextgen/common/src/GlobalHandler.cpp
    R openmp/libomptarget/plugins-nextgen/common/src/JIT.cpp
    R openmp/libomptarget/plugins-nextgen/common/src/PluginInterface.cpp
    R openmp/libomptarget/plugins-nextgen/common/src/RPC.cpp
    R openmp/libomptarget/plugins-nextgen/common/src/Utils/ELF.cpp
    R openmp/libomptarget/plugins-nextgen/cuda/CMakeLists.txt
    R openmp/libomptarget/plugins-nextgen/cuda/dynamic_cuda/cuda.cpp
    R openmp/libomptarget/plugins-nextgen/cuda/dynamic_cuda/cuda.h
    R openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp
    R openmp/libomptarget/plugins-nextgen/exports
    R openmp/libomptarget/plugins-nextgen/host/CMakeLists.txt
    R openmp/libomptarget/plugins-nextgen/host/dynamic_ffi/ffi.cpp
    R openmp/libomptarget/plugins-nextgen/host/dynamic_ffi/ffi.h
    R openmp/libomptarget/plugins-nextgen/host/src/rtl.cpp
    R openmp/libomptarget/src/CMakeLists.txt
    R openmp/libomptarget/src/DeviceImage.cpp
    R openmp/libomptarget/src/LegacyAPI.cpp
    R openmp/libomptarget/src/OffloadRTL.cpp
    R openmp/libomptarget/src/OpenMP/API.cpp
    R openmp/libomptarget/src/OpenMP/InteropAPI.cpp
    R openmp/libomptarget/src/OpenMP/Mapping.cpp
    R openmp/libomptarget/src/OpenMP/OMPT/Callback.cpp
    R openmp/libomptarget/src/PluginManager.cpp
    R openmp/libomptarget/src/device.cpp
    R openmp/libomptarget/src/exports
    R openmp/libomptarget/src/interface.cpp
    R openmp/libomptarget/src/omptarget.cpp
    R openmp/libomptarget/src/private.h
    R openmp/libomptarget/test/CMakeLists.txt
    R openmp/libomptarget/test/Inputs/basic_array.f90
    R openmp/libomptarget/test/Inputs/declare_indirect_func.c
    R openmp/libomptarget/test/api/assert.c
    R openmp/libomptarget/test/api/is_initial_device.c
    R openmp/libomptarget/test/api/omp_device_managed_memory.c
    R openmp/libomptarget/test/api/omp_device_managed_memory_alloc.c
    R openmp/libomptarget/test/api/omp_device_memory.c
    R openmp/libomptarget/test/api/omp_dynamic_shared_memory.c
    R openmp/libomptarget/test/api/omp_dynamic_shared_memory_amdgpu.c
    R openmp/libomptarget/test/api/omp_dynamic_shared_memory_mixed.inc
    R openmp/libomptarget/test/api/omp_dynamic_shared_memory_mixed_amdgpu.c
    R openmp/libomptarget/test/api/omp_dynamic_shared_memory_mixed_nvptx.c
    R openmp/libomptarget/test/api/omp_env_vars.c
    R openmp/libomptarget/test/api/omp_get_device_num.c
    R openmp/libomptarget/test/api/omp_get_mapped_ptr.c
    R openmp/libomptarget/test/api/omp_get_num_devices.c
    R openmp/libomptarget/test/api/omp_get_num_devices_with_empty_target.c
    R openmp/libomptarget/test/api/omp_get_num_procs.c
    R openmp/libomptarget/test/api/omp_host_pinned_memory.c
    R openmp/libomptarget/test/api/omp_host_pinned_memory_alloc.c
    R openmp/libomptarget/test/api/omp_indirect_call.c
    R openmp/libomptarget/test/api/omp_target_memcpy_async1.c
    R openmp/libomptarget/test/api/omp_target_memcpy_async2.c
    R openmp/libomptarget/test/api/omp_target_memcpy_rect_async1.c
    R openmp/libomptarget/test/api/omp_target_memcpy_rect_async2.c
    R openmp/libomptarget/test/api/omp_target_memset.c
    R openmp/libomptarget/test/api/ompx_3d.c
    R openmp/libomptarget/test/api/ompx_3d.cpp
    R openmp/libomptarget/test/api/ompx_dump_mapping_tables.cpp
    R openmp/libomptarget/test/api/ompx_sync.c
    R openmp/libomptarget/test/api/ompx_sync.cpp
    R openmp/libomptarget/test/env/base_ptr_ref_count.c
    R openmp/libomptarget/test/env/omp_target_debug.c
    R openmp/libomptarget/test/jit/empty_kernel.inc
    R openmp/libomptarget/test/jit/empty_kernel_lvl1.c
    R openmp/libomptarget/test/jit/empty_kernel_lvl2.c
    R openmp/libomptarget/test/jit/type_punning.c
    R openmp/libomptarget/test/libc/assert.c
    R openmp/libomptarget/test/libc/fwrite.c
    R openmp/libomptarget/test/libc/global_ctor_dtor.cpp
    R openmp/libomptarget/test/libc/host_call.c
    R openmp/libomptarget/test/libc/malloc.c
    R openmp/libomptarget/test/libc/puts.c
    R openmp/libomptarget/test/lit.cfg
    R openmp/libomptarget/test/lit.site.cfg.in
    R openmp/libomptarget/test/mapping/alloc_fail.c
    R openmp/libomptarget/test/mapping/array_section_implicit_capture.c
    R openmp/libomptarget/test/mapping/array_section_use_device_ptr.c
    R openmp/libomptarget/test/mapping/auto_zero_copy.cpp
    R openmp/libomptarget/test/mapping/auto_zero_copy_apu.cpp
    R openmp/libomptarget/test/mapping/auto_zero_copy_globals.cpp
    R openmp/libomptarget/test/mapping/data_absent_at_exit.c
    R openmp/libomptarget/test/mapping/data_member_ref.cpp
    R openmp/libomptarget/test/mapping/declare_mapper_api.cpp
    R openmp/libomptarget/test/mapping/declare_mapper_nested_default_mappers.cpp
    R openmp/libomptarget/test/mapping/declare_mapper_nested_default_mappers_array.cpp
    R openmp/libomptarget/test/mapping/declare_mapper_nested_default_mappers_array_subscript.cpp
    R openmp/libomptarget/test/mapping/declare_mapper_nested_default_mappers_complex_structure.cpp
    R openmp/libomptarget/test/mapping/declare_mapper_nested_default_mappers_ptr_subscript.cpp
    R openmp/libomptarget/test/mapping/declare_mapper_nested_default_mappers_var.cpp
    R openmp/libomptarget/test/mapping/declare_mapper_nested_mappers.cpp
    R openmp/libomptarget/test/mapping/declare_mapper_target.cpp
    R openmp/libomptarget/test/mapping/declare_mapper_target_data.cpp
    R openmp/libomptarget/test/mapping/declare_mapper_target_data_enter_exit.cpp
    R openmp/libomptarget/test/mapping/declare_mapper_target_update.cpp
    R openmp/libomptarget/test/mapping/delete_inf_refcount.c
    R openmp/libomptarget/test/mapping/device_ptr_update.c
    R openmp/libomptarget/test/mapping/firstprivate_aligned.cpp
    R openmp/libomptarget/test/mapping/has_device_addr.cpp
    R openmp/libomptarget/test/mapping/implicit_device_ptr.c
    R openmp/libomptarget/test/mapping/is_device_ptr.cpp
    R openmp/libomptarget/test/mapping/lambda_by_value.cpp
    R openmp/libomptarget/test/mapping/lambda_mapping.cpp
    R openmp/libomptarget/test/mapping/low_alignment.c
    R openmp/libomptarget/test/mapping/map_back_race.cpp
    R openmp/libomptarget/test/mapping/ompx_hold/omp_target_disassociate_ptr.c
    R openmp/libomptarget/test/mapping/ompx_hold/struct.c
    R openmp/libomptarget/test/mapping/ompx_hold/target-data.c
    R openmp/libomptarget/test/mapping/ompx_hold/target.c
    R openmp/libomptarget/test/mapping/padding_not_mapped.c
    R openmp/libomptarget/test/mapping/power_of_two_alignment.c
    R openmp/libomptarget/test/mapping/pr38704.c
    R openmp/libomptarget/test/mapping/prelock.cpp
    R openmp/libomptarget/test/mapping/present/target.c
    R openmp/libomptarget/test/mapping/present/target_array_extension.c
    R openmp/libomptarget/test/mapping/present/target_data.c
    R openmp/libomptarget/test/mapping/present/target_data_array_extension.c
    R openmp/libomptarget/test/mapping/present/target_data_at_exit.c
    R openmp/libomptarget/test/mapping/present/target_enter_data.c
    R openmp/libomptarget/test/mapping/present/target_exit_data_delete.c
    R openmp/libomptarget/test/mapping/present/target_exit_data_release.c
    R openmp/libomptarget/test/mapping/present/target_update.c
    R openmp/libomptarget/test/mapping/present/target_update_array_extension.c
    R openmp/libomptarget/test/mapping/present/unified_shared_memory.c
    R openmp/libomptarget/test/mapping/present/zero_length_array_section.c
    R openmp/libomptarget/test/mapping/present/zero_length_array_section_exit.c
    R openmp/libomptarget/test/mapping/private_mapping.c
    R openmp/libomptarget/test/mapping/ptr_and_obj_motion.c
    R openmp/libomptarget/test/mapping/reduction_implicit_map.cpp
    R openmp/libomptarget/test/mapping/target_data_array_extension_at_exit.c
    R openmp/libomptarget/test/mapping/target_derefence_array_pointrs.cpp
    R openmp/libomptarget/test/mapping/target_has_device_addr.c
    R openmp/libomptarget/test/mapping/target_implicit_partial_map.c
    R openmp/libomptarget/test/mapping/target_map_for_member_data.cpp
    R openmp/libomptarget/test/mapping/target_pointers_members_map.cpp
    R openmp/libomptarget/test/mapping/target_update_array_extension.c
    R openmp/libomptarget/test/mapping/target_use_device_addr.c
    R openmp/libomptarget/test/mapping/target_uses_allocator.c
    R openmp/libomptarget/test/mapping/target_wrong_use_device_addr.c
    R openmp/libomptarget/test/offloading/assert.cpp
    R openmp/libomptarget/test/offloading/atomic-compare-signedness.c
    R openmp/libomptarget/test/offloading/back2back_distribute.c
    R openmp/libomptarget/test/offloading/barrier_fence.c
    R openmp/libomptarget/test/offloading/bug47654.cpp
    R openmp/libomptarget/test/offloading/bug49021.cpp
    R openmp/libomptarget/test/offloading/bug49334.cpp
    R openmp/libomptarget/test/offloading/bug49779.cpp
    R openmp/libomptarget/test/offloading/bug50022.cpp
    R openmp/libomptarget/test/offloading/bug51781.c
    R openmp/libomptarget/test/offloading/bug51982.c
    R openmp/libomptarget/test/offloading/bug53727.cpp
    R openmp/libomptarget/test/offloading/bug64959.c
    R openmp/libomptarget/test/offloading/bug64959_compile_only.c
    R openmp/libomptarget/test/offloading/bug74582.c
    R openmp/libomptarget/test/offloading/complex_reduction.cpp
    R openmp/libomptarget/test/offloading/ctor_dtor.cpp
    R openmp/libomptarget/test/offloading/cuda_no_devices.c
    R openmp/libomptarget/test/offloading/d2d_memcpy.c
    R openmp/libomptarget/test/offloading/d2d_memcpy_sync.c
    R openmp/libomptarget/test/offloading/default_thread_limit.c
    R openmp/libomptarget/test/offloading/dynamic_module.c
    R openmp/libomptarget/test/offloading/dynamic_module_load.c
    R openmp/libomptarget/test/offloading/extern.c
    R openmp/libomptarget/test/offloading/force-usm.cpp
    R openmp/libomptarget/test/offloading/fortran/basic-target-parallel-do.f90
    R openmp/libomptarget/test/offloading/fortran/basic-target-parallel-region.f90
    R openmp/libomptarget/test/offloading/fortran/basic-target-region-1D-array-section.f90
    R openmp/libomptarget/test/offloading/fortran/basic-target-region-3D-array-section.f90
    R openmp/libomptarget/test/offloading/fortran/basic-target-region-3D-array.f90
    R openmp/libomptarget/test/offloading/fortran/basic_array.c
    R openmp/libomptarget/test/offloading/fortran/basic_target_region.f90
    R openmp/libomptarget/test/offloading/fortran/constant-arr-index.f90
    R openmp/libomptarget/test/offloading/fortran/declare-target-vars-in-target-region.f90
    R openmp/libomptarget/test/offloading/fortran/double-target-call-with-declare-target.f90
    R openmp/libomptarget/test/offloading/fortran/target-map-allocatable-array-section-1d-bounds.f90
    R openmp/libomptarget/test/offloading/fortran/target-map-allocatable-array-section-3d-bounds.f90
    R openmp/libomptarget/test/offloading/fortran/target-map-allocatable-map-scopes.f90
    R openmp/libomptarget/test/offloading/fortran/target-map-enter-exit-allocatables.f90
    R openmp/libomptarget/test/offloading/fortran/target-map-enter-exit-array-2.f90
    R openmp/libomptarget/test/offloading/fortran/target-map-enter-exit-array-bounds.f90
    R openmp/libomptarget/test/offloading/fortran/target-map-enter-exit-array.f90
    R openmp/libomptarget/test/offloading/fortran/target-map-enter-exit-scalar.f90
    R openmp/libomptarget/test/offloading/fortran/target-map-pointer-scopes-enter-exit.f90
    R openmp/libomptarget/test/offloading/fortran/target-map-pointer-target-array-section-3d-bounds.f90
    R openmp/libomptarget/test/offloading/fortran/target-map-pointer-target-scopes.f90
    R openmp/libomptarget/test/offloading/fortran/target-nested-target-data.f90
    R openmp/libomptarget/test/offloading/fortran/target-parallel-do-collapse.f90
    R openmp/libomptarget/test/offloading/fortran/target-region-implicit-array.f90
    R openmp/libomptarget/test/offloading/fortran/target_map_common_block.f90
    R openmp/libomptarget/test/offloading/fortran/target_map_common_block1.f90
    R openmp/libomptarget/test/offloading/fortran/target_map_common_block2.f90
    R openmp/libomptarget/test/offloading/fortran/target_update.f90
    R openmp/libomptarget/test/offloading/generic_multiple_parallel_regions.c
    R openmp/libomptarget/test/offloading/global_constructor.cpp
    R openmp/libomptarget/test/offloading/host_as_target.c
    R openmp/libomptarget/test/offloading/indirect_fp_mapping.c
    R openmp/libomptarget/test/offloading/info.c
    R openmp/libomptarget/test/offloading/interop.c
    R openmp/libomptarget/test/offloading/lone_target_exit_data.c
    R openmp/libomptarget/test/offloading/looptripcnt.c
    R openmp/libomptarget/test/offloading/malloc.c
    R openmp/libomptarget/test/offloading/malloc_parallel.c
    R openmp/libomptarget/test/offloading/mandatory_but_no_devices.c
    R openmp/libomptarget/test/offloading/memory_manager.cpp
    R openmp/libomptarget/test/offloading/multiple_reductions_simple.c
    R openmp/libomptarget/test/offloading/non_contiguous_update.cpp
    R openmp/libomptarget/test/offloading/offloading_success.c
    R openmp/libomptarget/test/offloading/offloading_success.cpp
    R openmp/libomptarget/test/offloading/ompx_bare.c
    R openmp/libomptarget/test/offloading/ompx_coords.c
    R openmp/libomptarget/test/offloading/ompx_saxpy_mixed.c
    R openmp/libomptarget/test/offloading/parallel_offloading_map.cpp
    R openmp/libomptarget/test/offloading/parallel_target_teams_reduction.cpp
    R openmp/libomptarget/test/offloading/parallel_target_teams_reduction_max.cpp
    R openmp/libomptarget/test/offloading/parallel_target_teams_reduction_min.cpp
    R openmp/libomptarget/test/offloading/requires.c
    R openmp/libomptarget/test/offloading/runtime_init.c
    R openmp/libomptarget/test/offloading/shared_lib_fp_mapping.c
    R openmp/libomptarget/test/offloading/small_trip_count.c
    R openmp/libomptarget/test/offloading/small_trip_count_thread_limit.cpp
    R openmp/libomptarget/test/offloading/spmdization.c
    R openmp/libomptarget/test/offloading/static_linking.c
    R openmp/libomptarget/test/offloading/std_complex_arithmetic.cpp
    R openmp/libomptarget/test/offloading/struct_mapping_with_pointers.cpp
    R openmp/libomptarget/test/offloading/target-teams-atomic.c
    R openmp/libomptarget/test/offloading/target-tile.c
    R openmp/libomptarget/test/offloading/target_constexpr_mapping.cpp
    R openmp/libomptarget/test/offloading/target_critical_region.cpp
    R openmp/libomptarget/test/offloading/target_depend_nowait.cpp
    R openmp/libomptarget/test/offloading/target_map_for_member_data.cpp
    R openmp/libomptarget/test/offloading/target_nowait_target.cpp
    R openmp/libomptarget/test/offloading/task_in_reduction_target.c
    R openmp/libomptarget/test/offloading/taskloop_offload_nowait.cpp
    R openmp/libomptarget/test/offloading/test_libc.cpp
    R openmp/libomptarget/test/offloading/thread_limit.c
    R openmp/libomptarget/test/offloading/thread_state_1.c
    R openmp/libomptarget/test/offloading/thread_state_2.c
    R openmp/libomptarget/test/offloading/weak.c
    R openmp/libomptarget/test/offloading/workshare_chunk.c
    R openmp/libomptarget/test/offloading/wtime.c
    R openmp/libomptarget/test/ompt/callbacks.h
    R openmp/libomptarget/test/ompt/register_both.h
    R openmp/libomptarget/test/ompt/register_emi.h
    R openmp/libomptarget/test/ompt/register_emi_map.h
    R openmp/libomptarget/test/ompt/register_no_device_init.h
    R openmp/libomptarget/test/ompt/register_non_emi.h
    R openmp/libomptarget/test/ompt/register_non_emi_map.h
    R openmp/libomptarget/test/ompt/register_wrong_return.h
    R openmp/libomptarget/test/ompt/target_memcpy.c
    R openmp/libomptarget/test/ompt/target_memcpy_emi.c
    R openmp/libomptarget/test/ompt/veccopy.c
    R openmp/libomptarget/test/ompt/veccopy_data.c
    R openmp/libomptarget/test/ompt/veccopy_disallow_both.c
    R openmp/libomptarget/test/ompt/veccopy_emi.c
    R openmp/libomptarget/test/ompt/veccopy_emi_map.c
    R openmp/libomptarget/test/ompt/veccopy_map.c
    R openmp/libomptarget/test/ompt/veccopy_no_device_init.c
    R openmp/libomptarget/test/ompt/veccopy_wrong_return.c
    R openmp/libomptarget/test/unified_shared_memory/api.c
    R openmp/libomptarget/test/unified_shared_memory/associate_ptr.c
    R openmp/libomptarget/test/unified_shared_memory/close_enter_exit.c
    R openmp/libomptarget/test/unified_shared_memory/close_manual.c
    R openmp/libomptarget/test/unified_shared_memory/close_member.c
    R openmp/libomptarget/test/unified_shared_memory/close_modifier.c
    R openmp/libomptarget/test/unified_shared_memory/shared_update.c
    R openmp/libomptarget/tools/CMakeLists.txt
    R openmp/libomptarget/tools/deviceinfo/CMakeLists.txt
    R openmp/libomptarget/tools/deviceinfo/llvm-omp-device-info.cpp
    R openmp/libomptarget/tools/kernelreplay/CMakeLists.txt
    R openmp/libomptarget/tools/kernelreplay/llvm-omp-kernel-replay.cpp
    R openmp/libomptarget/unittests/CMakeLists.txt
    R openmp/libomptarget/unittests/Plugins/CMakeLists.txt
    R openmp/libomptarget/unittests/Plugins/NextgenPluginsTest.cpp
    R openmp/libomptarget/utils/generate_microtask_cases.py
    M openmp/runtime/src/CMakeLists.txt
    M runtimes/CMakeLists.txt

  Log Message:
  -----------
  [Offload] Move `/openmp/libomptarget` to `/offload` (#75125)

In a nutshell, this moves our libomptarget code to populate the offload
subproject.

With this commit, users need to enable the new LLVM/Offload subproject
as a runtime in their cmake configuration.
No further changes are expected for downstream code.

Tests and other components still depend on OpenMP and have also not been
renamed. The results below are for a build in which OpenMP and Offload
are enabled runtimes. In addition to the pure `git mv`, we needed to
adjust some CMake files. Nothing is intended to change semantics.

```
ninja check-offload
```
Works with the X86 and AMDGPU offload tests

```
ninja check-openmp
```
Still works but doesn't build offload tests anymore.

```
ls install/lib
```
Shows all expected libraries, incl.
- `libomptarget.devicertl.a`
- `libomptarget-nvptx-sm_90.bc`
- `libomptarget.rtl.amdgpu.so` -> `libomptarget.rtl.amdgpu.so.18git`
- `libomptarget.so` -> `libomptarget.so.18git`

Fixes: https://github.com/llvm/llvm-project/issues/75124

---------

Co-authored-by: Saiyedul Islam <Saiyedul.Islam at amd.com>



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list