| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
[Offload][NFC] Remove 'libomptarget' message helpers (#92581) Summary: This isn't libomptarget anymore, and these messages were always unnecessary because no other project uses these prefixed messages. The effect of this is that no longer will the logs have LIBOMPTARGET -- in front of everything. We have a message stating when we start building the offload project so it'll still be trivial to find. | 2 年前 | |
[Reland][Libomptarget] Statically link all plugin runtimes (#87009) This patch overhauls the libomptarget and plugin interface. Currently, we define a C API and compile each plugin as a separate shared library. Then, libomptarget loads these API functions and forwards its internal calls to them. This was originally designed to allow multiple implementations of a library to be live. However, since then no one has used this functionality and it prevents us from using much nicer interfaces. If the old behavior is desired it should instead be implemented as a separate plugin. This patch replaces the PluginAdaptorTy interface with the GenericPluginTy that is used by the plugins. Each plugin exports a createPlugin_<name> function that is used to get the specific implementation. This code is now shared with libomptarget. There are some notable improvements to this. 1. Massively improved lifetimes of life runtime objects 2. The plugins can use a C++ interface 3. Global state does not need to be duplicated for each plugin + libomptarget 4. Easier to use and add features and improve error handling 5. Less function call overhead / Improved LTO performance. Additional changes in this plugin are related to contending with the fact that state is now shared. Initialization and deinitialization is now handled correctly and in phase with the underlying runtime, allowing us to actually know when something is getting deallocated. Depends on https://github.com/llvm/llvm-project/pull/86971 https://github.com/llvm/llvm-project/pull/86875 https://github.com/llvm/llvm-project/pull/86868 | 2 年前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 2 年前 | ||
| 2 年前 |