oneDAL
oneDAL copied to clipboard
Implement DPC++ sparse gemm and gemv primitives
Following functionality was implemented:
sparse_matrix_handleclass - a wrapper tooneapi::mkl::sparse::matrix_handle_t.set_csr_data(...)primitives allowing to fill the internal CSR data structure of thesparse_matrix_handlewith the data provided as memory blocks or oneDALcsr_table.gemm(...)andgemv(...)primitives acceptingndviews for dense input and result andsparse_matrix_handleas sparse input.- tests for sparse
gemmandgemvprimitives.
/intelci: run
Re-run CI: http://intel-ci.intel.com/eeda108b-cbb8-f1e1-a791-a4bf010d0e2e
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
/intelci: run
/intelci: run
/intelci: run
/intelci: run
/intelci: run
/intelci: run
/intelci: run
CI rerun (looks good) - http://intel-ci.intel.com/eefcebbb-7031-f135-9349-a4bf010d0e2e