[llvm] [libsycl] add USM alloc/free functions (PR #184111)
Kseniya Tikhomirova via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 12 07:10:44 PDT 2026
================
@@ -102,6 +103,13 @@ ol_device_type_t convertDeviceTypeToOL(info::device_type DeviceType);
/// \returns SYCL device type matching specified liboffload device type.
info::device_type convertDeviceTypeToSYCL(ol_device_type_t DeviceType);
+/// Converts SYCL USM type to liboffload type.
+///
+/// \param DeviceType SYCL USM type.
+///
+/// \returns ol_alloc_type_t matching specified SYCL USM type.
+ol_alloc_type_t convertUSMTypeToOL(usm::alloc USMType);
----------------
KseniyaTikhomirova wrote:
https://github.com/llvm/llvm-project/pull/184111/changes/e5a626829ee195581e36e4a712882bb020ab3cab
https://github.com/llvm/llvm-project/pull/184111
More information about the llvm-commits
mailing list