From 3ab3a0c199415cd1a7fa448896f466b937e32a03 Mon Sep 17 00:00:00 2001 From: Alberto Cabrera Date: Tue, 27 Feb 2024 11:07:01 +0000 Subject: [PATCH] [SYCL][COMPAT] Updated README to include the new set_default_queue functionality Signed-off-by: Alberto Cabrera --- sycl/doc/syclcompat/README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sycl/doc/syclcompat/README.md b/sycl/doc/syclcompat/README.md index bafbb8efa4d11..609033c33de60 100644 --- a/sycl/doc/syclcompat/README.md +++ b/sycl/doc/syclcompat/README.md @@ -742,6 +742,10 @@ sycl::queue create_queue(bool print_on_async_exceptions = false, // device manager. sycl::queue get_default_queue(); +// Util function to set the default queue of the current device in the +// device manager. +void set_default_queue(const sycl::queue &q); + // Util function to wait for the queued kernels. void wait(sycl::queue q = get_default_queue()); @@ -807,6 +811,7 @@ class device_ext : public sycl::device { void reset(); sycl::queue *default_queue(); + void set_default_queue(const sycl::queue &q); void queues_wait_and_throw(); sycl::queue *create_queue(bool print_on_async_exceptions = false, bool in_order = true);