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

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Fri Dec 1 11:06:15 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;
----------------
jhuber6 wrote:

Is this legal? The pointers are no longer stable here.

https://github.com/llvm/llvm-project/pull/74129


More information about the Openmp-commits mailing list