Skip to content

Commit 2189b57

Browse files
[oneMKL][Sparse BLAS] Add sycl::queue & to sparse::init_matrix_handle() API (#505)
1 parent 950b890 commit 2189b57

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

source/elements/oneMKL/source/domains/spblas/matrixinit.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,20 +24,23 @@ The oneapi::mkl::sparse::init_matrix_handle function initializes the
2424
2525
namespace oneapi::mkl::sparse {
2626
27-
void init_matrix_handle (oneapi::mkl::sparse::matrix_handle_t *p_handle);
27+
void init_matrix_handle (sycl::queue &queue,
28+
oneapi::mkl::sparse::matrix_handle_t *p_handle);
2829
2930
}
3031
31-
3232
.. container:: section
3333

34+
3435
.. rubric:: Input parameters
3536

37+
queue
38+
The SYCL command queue which will be used for SYCL kernels execution.
39+
3640
p_handle
3741
The address of the sparse::matrix_handle_t ``p_handle`` object to be initialized.
3842
This initialization routine must only be called on an uninitialized matrix_handle_t object.
3943

40-
4144
.. container:: section
4245

4346
.. rubric:: Output parameters

source/elements/oneMKL/source/domains/spblas/releasematrixhandle.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ before releasing any data in case of USM.
4747

4848
dependencies
4949
List of events that ``p_handle`` depends on.
50-
The call waits on the events(if any) before resetting the ``p_handle`` to default values.
50+
The call waits on the events (if any) before resetting the ``p_handle`` to default values.
5151

5252
.. container:: section
5353

0 commit comments

Comments
 (0)