[all-commits] [llvm/llvm-project] 21f3a6: [Offload] Only initialize a plugin if it is needed...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Thu May 23 07:37:10 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 21f3a6091f71f6651f604733bba65cdc97b0b6b4
https://github.com/llvm/llvm-project/commit/21f3a6091f71f6651f604733bba65cdc97b0b6b4
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-05-23 (Thu, 23 May 2024)
Changed paths:
M offload/plugins-nextgen/common/include/JIT.h
M offload/plugins-nextgen/common/include/PluginInterface.h
M offload/plugins-nextgen/common/src/JIT.cpp
M offload/plugins-nextgen/common/src/PluginInterface.cpp
M offload/src/PluginManager.cpp
Log Message:
-----------
[Offload] Only initialize a plugin if it is needed (#92765)
Summary:
Initializing the plugins requires initializing the runtime like CUDA or
HSA. This has a considerable overhead on most platforms, so we should
only actually initialize a plugin if it is needed by any image that is
loaded.
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