Skip to content

Commit 1e138bc

Browse files
przemektmalonkbenzie
authored andcommitted
Initial spec and L0 implementation (#19018)
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_device_mem` - `export_device_mem_handle` - `free_exportable_mem` 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.
1 parent b0df1a9 commit 1e138bc

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+2255
-228
lines changed

include/ur_api.h

Lines changed: 193 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

include/ur_api_funcs.def

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

include/ur_ddi.h

Lines changed: 46 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

include/ur_print.h

Lines changed: 33 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)