Skip to content

DPC++ daily 2022-06-04

Pre-release
Pre-release
Compare
Choose a tag to compare
@bb-sycl bb-sycl released this 04 Jun 16:20
· 138514 commits to sycl since this release
3a91cec
[SYCL] Align usm_allocator with the specification (#6191)

According to

https://www.khronos.org/registry/SYCL/specs/sycl-2020/html/sycl-2020.html#_c_allocator_interface

the default value for the "Alignment" template parameter must be 0. Otherwise
the rebound allocator wouldn't change the alignment properly.

Test added in https://github.com/intel/llvm-test-suite/pull/1038