Hi Karl
I have two Eigen dense matrices in Row Major format. I can find examples of interfacing Eigen with ViennaCL. However, is there any example of multiplying two such Eigen Dense matrices in ViennaCL on the GPU? Any pointers will be appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
there is no example doing just that. However, examples/tutorial/blas3.cpp is very similar to what you need, just replace the uBLAS-matrices with Eigen matrices. In short: Copy your Eigen-matrices to viennacl::matrix<> objects and then call prod().
Best regards,
Karli
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Karl
I have two Eigen dense matrices in Row Major format. I can find examples of interfacing Eigen with ViennaCL. However, is there any example of multiplying two such Eigen Dense matrices in ViennaCL on the GPU? Any pointers will be appreciated.
Hi Sumit,
there is no example doing just that. However, examples/tutorial/blas3.cpp is very similar to what you need, just replace the uBLAS-matrices with Eigen matrices. In short: Copy your Eigen-matrices to viennacl::matrix<> objects and then call prod().
Best regards,
Karli