Skip to content

Commit

Permalink
[oneMKL][Sparse BLAS] Add sycl::queue & to `sparse::init_matrix_han…
Browse files Browse the repository at this point in the history
…dle()` API
  • Loading branch information
gajanan-choudhary committed Oct 3, 2023
1 parent 950b890 commit 0c801ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions source/elements/oneMKL/source/domains/spblas/matrixinit.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,23 @@ The oneapi::mkl::sparse::init_matrix_handle function initializes the
namespace oneapi::mkl::sparse {
void init_matrix_handle (oneapi::mkl::sparse::matrix_handle_t *p_handle);
void init_matrix_handle (sycl::queue &queue,
oneapi::mkl::sparse::matrix_handle_t *p_handle);
}
.. container:: section


.. rubric:: Input parameters

queue
The SYCL command queue which will be used for SYCL kernels execution.

p_handle
The address of the sparse::matrix_handle_t ``p_handle`` object to be initialized.
This initialization routine must only be called on an uninitialized matrix_handle_t object.


.. container:: section

.. rubric:: Output parameters
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ before releasing any data in case of USM.

dependencies
List of events that ``p_handle`` depends on.
The call waits on the events(if any) before resetting the ``p_handle`` to default values.
The call waits on the events (if any) before resetting the ``p_handle`` to default values.

.. container:: section

Expand Down

0 comments on commit 0c801ca

Please sign in to comment.