oneDAL icon indicating copy to clipboard operation
oneDAL copied to clipboard

Implement DPC++ sparse gemm and gemv primitives

Open Vika-F opened this issue 1 year ago • 4 comments

Following functionality was implemented:

  • sparse_matrix_handle class - a wrapper to oneapi::mkl::sparse::matrix_handle_t.
  • set_csr_data(...) primitives allowing to fill the internal CSR data structure of the sparse_matrix_handle with the data provided as memory blocks or oneDAL csr_table.
  • gemm(...) and gemv(...) primitives accepting ndviews for dense input and result and sparse_matrix_handle as sparse input.
  • tests for sparse gemm and gemv primitives.

Vika-F avatar Feb 16 '24 13:02 Vika-F

/intelci: run

Vika-F avatar Mar 01 '24 12:03 Vika-F

Re-run CI: http://intel-ci.intel.com/eeda108b-cbb8-f1e1-a791-a4bf010d0e2e

Vika-F avatar Mar 04 '24 10:03 Vika-F

Please, also add sparse_blas to primitives BUILD file here https://github.com/oneapi-src/oneDAL/blob/main/cpp/oneapi/dal/backend/primitives/BUILD#L82

Also add file named sparse_blas.hpp with necessary includes to the directory backend/primtives https://github.com/oneapi-src/oneDAL/tree/main/cpp/oneapi/dal/backend/primitives

avolkov-intel avatar Mar 11 '24 10:03 avolkov-intel

/intelci: run

Vika-F avatar Mar 11 '24 11:03 Vika-F

/intelci: run

Vika-F avatar Mar 21 '24 10:03 Vika-F

/intelci: run

Vika-F avatar Apr 12 '24 09:04 Vika-F

/intelci: run

Vika-F avatar Apr 15 '24 09:04 Vika-F

/intelci: run

ethanglaser avatar Apr 15 '24 20:04 ethanglaser

/intelci: run

Vika-F avatar Apr 16 '24 09:04 Vika-F

/intelci: run

Vika-F avatar Apr 17 '24 10:04 Vika-F

CI rerun (looks good) - http://intel-ci.intel.com/eefcebbb-7031-f135-9349-a4bf010d0e2e

ethanglaser avatar Apr 17 '24 19:04 ethanglaser