[Openmp-commits] [openmp] [OpenMP][NFC] Extract device image handling into a class/header (PR #74129)

Johannes Doerfert via Openmp-commits openmp-commits at lists.llvm.org
Fri Dec 1 12:07:48 PST 2023

@@ -91,7 +92,7 @@ struct PluginManager {
   /// Executable images and information extracted from the input images passed
   /// to the runtime.
-  std::list<std::pair<__tgt_device_image, __tgt_image_info>> Images;
+  llvm::SmallVector<DeviceImageTy> Images;
jdoerfert wrote:

In a follow up I made it unique pointers. will include that here. We should build it with the invariant that all pointers/references are always stable.


More information about the Openmp-commits mailing list