[all-commits] [llvm/llvm-project] 783dd9: [offload][omp] Manage memory allocation through li...

Alex Duran via All-commits all-commits at lists.llvm.org
Mon Sep 7 13:24:55 PDT 2026


  Branch: refs/heads/users/adurang/accessible_ptr_liboffload
  Home:   https://github.com/llvm/llvm-project
  Commit: 783dd9d30b89ab4685d70bdc275aef76d881f5f9
      https://github.com/llvm/llvm-project/commit/783dd9d30b89ab4685d70bdc275aef76d881f5f9
  Author: Duran, Alex <alejandro.duran at intel.com>
  Date:   2026-09-07 (Mon, 07 Sep 2026)

  Changed paths:
    M offload/liboffload/API/Memory.td
    M offload/liboffload/exports
    M offload/liboffload/src/OffloadImpl.cpp
    M offload/libompaccsupport/device.cpp
    M offload/plugins-nextgen/common/include/PluginInterface.h
    M offload/plugins-nextgen/common/src/PluginInterface.cpp
    M offload/unittests/OffloadAPI/CMakeLists.txt
    A offload/unittests/OffloadAPI/memory/olMemIsAccessible.cpp

  Log Message:
  -----------
  [offload][omp] Manage memory allocation through liboffload

Migrate DeviceTy::allocData/deleteData off GenericPluginTy::data_alloc/
data_delete onto liboffload's olMemAlloc*/olMemFree, migrate
targetLockExplicit/targetUnlockExplicit off data_lock/data_unlock onto
olMemRegister/olMemUnregister (fixing a latent bug where these passed
the OpenMP-visible device number instead of the plugin device id), and
migrate DeviceTy::isAccessiblePtr onto a new olMemIsAccessible API
(added with a unit test) since liboffload had no equivalent for
querying accessibility of arbitrary, not-necessarily-liboffload-
allocated pointers. Removes the now-dead GenericPluginTy::data_alloc/
data_delete/data_lock/data_unlock/is_accessible_ptr wrappers and their
exports entries.



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