Skip to content

Commit

Permalink
[SYCL][COMPAT] Updated README to include the new set_default_queue fu…
Browse files Browse the repository at this point in the history
…nctionality

Signed-off-by: Alberto Cabrera <alberto.cabrera@codeplay.com>
  • Loading branch information
Alcpz committed Feb 27, 2024
1 parent 1cb6794 commit 3ab3a0c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sycl/doc/syclcompat/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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());

Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit 3ab3a0c

Please sign in to comment.