llvm icon indicating copy to clipboard operation
llvm copied to clipboard

[SYCL][UR][MemExport][Exp] Initial spec and L0 implementation

Open przemektmalon opened this issue 4 months ago • 0 comments

This patch introduces new SYCL and UR extensions for exporting memory.

  • SYCL: sycl_ext_oneapi_memory_export
  • UR: EXP-MEMORY-EXPORT

The exported memory handles can be imported by external APIs and operated on without the need to perform costly copy operations.

Three new SYCL APIs are added by this extension:

  • alloc_exportable_memory
  • export_memory_handle
  • free_exportable_memory

Currently we can only export "linear" memory layouts. Exporting other memory layouts, such as "optimal" (Vulkan equivalent VK_IMAGE_TILING_OPTIMAL) is not currently supported by any UR adapter APIs.

przemektmalon avatar Jun 17 '25 10:06 przemektmalon