[all-commits] [llvm/llvm-project] ea707b: [Libomptarget][NFCI] Move logic out of PluginAdapt...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Fri Mar 29 05:19:43 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ea707baca2f73d503849d2b7429c7507314bff6b
https://github.com/llvm/llvm-project/commit/ea707baca2f73d503849d2b7429c7507314bff6b
Author: Joseph Huber <huberjn at outlook.com>
Date: 2024-03-29 (Fri, 29 Mar 2024)
Changed paths:
M openmp/libomptarget/include/PluginManager.h
M openmp/libomptarget/src/PluginManager.cpp
Log Message:
-----------
[Libomptarget][NFCI] Move logic out of PluginAdaptorTy (#86971)
Summary:
This patch removes most of the special handling from the
`PluginAdaptorTy` in preparation for changing this to be the
`GenericPluginTy`. Doing this requires that the OpenMP specific handling
of stuff like device offsets be contained within the OpenMP plugin
manager. Generally this was uninvasive expect for the change to tracking
the offset and size of the used devices. The eaiest way I could think to
do this was to use some maps, which double as indicators for which
plugins have devices active. This should not affect the logic.
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