================ @@ -1567,6 +1576,10 @@ struct GenericPluginTy { /// object and return immediately. int32_t async_barrier(omp_interop_val_t *Interop); + /// Given a pointer previously allocated by GenericDeviceTy::Allocate, return + /// information about that allocation + virtual Expected<MemoryInfoTy> get_memory_info(const void *TgtPtr) = 0; ---------------- jplehr wrote:
```suggestion virtual Expected<MemoryInfoTy> getMemoryInfo(const void *TgtPtr) = 0; ``` https://github.com/llvm/llvm-project/pull/157484 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits