[all-commits] [llvm/llvm-project] 9df4e9: [libsycl] USM Aligned allocation functions (#213468)

Robert via All-commits all-commits at lists.llvm.org
Fri Sep 11 03:38:33 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9df4e9be49c213f8df306469fae1f50c98df6d4e
      https://github.com/llvm/llvm-project/commit/9df4e9be49c213f8df306469fae1f50c98df6d4e
  Author: Robert <robertvuia06 at gmail.com>
  Date:   2026-09-11 (Fri, 11 Sep 2026)

  Changed paths:
    M libsycl/docs/index.md
    M libsycl/include/sycl/__impl/usm_functions.hpp
    M libsycl/src/usm_functions.cpp
    M libsycl/test/usm/alloc_functions.cpp
    M libsycl/unittests/CMakeLists.txt
    M libsycl/unittests/mock/helpers.cpp
    M libsycl/unittests/mock/helpers.hpp
    M libsycl/unittests/mock/mock.cpp
    A libsycl/unittests/usm/CMakeLists.txt
    A libsycl/unittests/usm/alloc.cpp

  Log Message:
  -----------
  [libsycl] USM Aligned allocation functions (#213468)

Adds the `aligned_*` versions of the USM functions, specifically for the
`device` `host` `shared` and free standing `aligned_alloc`.

Most of the overloads delegate between each other, but they slowly end
up being mapped to `aligned` version of API.

Adds more LIT tests in `alloc_functions.cpp` to cover the aligned
version.
Adds unittests for USM in `usm/alloc.cpp` 

Assisted by AI for documentation, validation of logic in overloads and
alignment specifications from latest SYCL-Docs and unit tests



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