Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
7234 Discussions

Dense matrix multiply sparse matrix by mkl fortran

nvh10
New Contributor I
1,142 Views

Function mkl_sparse_?_mm can compute C := alpha*op(A)*B + beta*C where A is sparse and B is dense.

I would like to calculate C := alpha*A*op(B) + beta*C where A is dense and B is sparse. Please let me know is there any function like this.

Thank you so much!

 

0 Kudos
1 Solution
ShanmukhS_Intel
Moderator
1,113 Views

Hi,

 

Thank you for posting on Intel Communities.

 

Please find the below link for supported operations and routines supported by Intel® oneAPI Math Kernel Library.

 

https://www.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-fortran/top/blas-and-sparse-blas-routines/sparse-blas-level-2-and-level-3-routines/routines-and-supported-operations.html

 

In addition, please refer to the below link for the execution routines and their significance.

 

https://www.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-fortran/top/blas-and-sparse-blas-routines/inspector-executor-sparse-blas-routines/inspector-executor-sparse-blas-execution-routines.html

 

Best Regards,

Shanmukh.SS 

 

 

View solution in original post

0 Kudos
3 Replies
ShanmukhS_Intel
Moderator
1,114 Views

Hi,

 

Thank you for posting on Intel Communities.

 

Please find the below link for supported operations and routines supported by Intel® oneAPI Math Kernel Library.

 

https://www.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-fortran/top/blas-and-sparse-blas-routines/sparse-blas-level-2-and-level-3-routines/routines-and-supported-operations.html

 

In addition, please refer to the below link for the execution routines and their significance.

 

https://www.intel.com/content/www/us/en/develop/documentation/onemkl-developer-reference-fortran/top/blas-and-sparse-blas-routines/inspector-executor-sparse-blas-routines/inspector-executor-sparse-blas-execution-routines.html

 

Best Regards,

Shanmukh.SS 

 

 

0 Kudos
nvh10
New Contributor I
1,110 Views

Thanks for your help!

I found that for every function, the first matrix is sparse which is different from my goal. I am looking for 

C := A*B + beta*C where A is dense and B is sparse.

 

0 Kudos
ShanmukhS_Intel
Moderator
1,082 Views

Hi,


Thanks for accepting our solution.


If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Best Regards,

Shanmukh.SS


0 Kudos
Reply