Skip to content

DPC++ daily 2022-05-19

Pre-release
Pre-release
Compare
Choose a tag to compare
@bb-sycl bb-sycl released this 19 May 16:21
· 138570 commits to sycl since this release
29a5369
[SYCL][L0] Adds device member to L0 make_queue input type (#6148)

* [SYCL][L0] Adds device member to L0 make_queue input type

This commit adds a new `device` member to the `make_queue` input type for the L0 backend. This allows the L0 backend to correctly associate the right device with the command queue to create the PI queue from, preventing unintended and illegal behavior when the PI queue is later used for otherwise valid operations.

It is currently still valid to create a SYCL queue from a native L0 command queue without associating the correct device, which will lead to the queue being associated with the first device in the supplied SYCL context. This behavior is however marked as deprecated.

Note: The ABI checker test changes were generated with the checker tool, so the ones that are marked as removed are simply just moved by the tool. This is a non-breaking ABI change for the runtime library.

Signed-off-by: Larsen, Steffen <steffen.larsen@intel.com>