Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[oneMKL][Sparse BLAS] Add sycl::queue & to sparse::init_matrix_handle() API #505

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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