[all-commits] [llvm/llvm-project] 6663df: [OpenMP][NFC] Remove std::move to silence warnings

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Nov 20 17:24:43 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6663df30c0c14093dd7eb0dabd727b036c919e0c
      https://github.com/llvm/llvm-project/commit/6663df30c0c14093dd7eb0dabd727b036c919e0c
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-11-20 (Mon, 20 Nov 2023)

  Changed paths:
    M openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
    M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
    M openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp

  Log Message:
  -----------
  [OpenMP][NFC] Remove std::move to silence warnings


  Commit: 41566fb8520a1284678d5a344632930b0d3d1fbf
      https://github.com/llvm/llvm-project/commit/41566fb8520a1284678d5a344632930b0d3d1fbf
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-11-20 (Mon, 20 Nov 2023)

  Changed paths:
    M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp

  Log Message:
  -----------
  [OpenMP][FIX] Ensure recording works properly w/ late allocations


  Commit: f48c4d8aa1e46bcaf3204a87e3e62716cf35b47b
      https://github.com/llvm/llvm-project/commit/f48c4d8aa1e46bcaf3204a87e3e62716cf35b47b
  Author: Johannes Doerfert <johannes at jdoerfert.de>
  Date:   2023-11-20 (Mon, 20 Nov 2023)

  Changed paths:
    M openmp/libomptarget/include/omptarget.h
    M openmp/libomptarget/include/rtl.h
    M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
    M openmp/libomptarget/src/device.cpp
    M openmp/libomptarget/src/interface.cpp
    M openmp/libomptarget/src/omptarget.cpp
    M openmp/libomptarget/src/private.h
    M openmp/libomptarget/tools/kernelreplay/llvm-omp-kernel-replay.cpp

  Log Message:
  -----------
  [OpenMP] Be more forgiving during record and replay

When we record and replay kernels we should not error out early if there
is a chance the program might still run fine. This patch will:
1) Fallback to the allocation heuristic if the VAMap doesn't work.
2) Adjust the memory start to match the required address if possible.
3) Adjust the (guessed) pointer arguments if the memory start adjustment
   is impossible. This will allow kernels without indirect accesses to
   work while indirect accesses will most likely fail.


Compare: https://github.com/llvm/llvm-project/compare/3e6ae77950e9...f48c4d8aa1e4


More information about the All-commits mailing list