[all-commits] [llvm/llvm-project] 7bfcce: [OpenMP] Tear down GenericDeviceTy's with GenericP...

Johannes Doerfert via All-commits all-commits at lists.llvm.org
Mon Nov 27 11:42:25 PST 2023


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

  Changed paths:
    M openmp/libomptarget/include/omptargetplugin.h
    M openmp/libomptarget/include/rtl.h
    M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp
    M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.h
    M openmp/libomptarget/src/device.cpp
    M openmp/libomptarget/src/rtl.cpp

  Log Message:
  -----------
  [OpenMP] Tear down GenericDeviceTy's with GenericPluginTy (#73557)

There is no point in keeping GenericDeviceTy objects alive longer than
the associated GenericPluginTy. Instead of the old API we now tear them
down with the plugin, avoiding ordering issues.




More information about the All-commits mailing list