dbeurle / neon

A finite element code
Other
12 stars 8 forks source link

ViennalCL svd test #102

Closed shadisharba closed 6 years ago

dbeurle commented 6 years ago

My timings are

$ ./test/svd_solvers_test 
approximation error due to bdc_svd 1.7058e-12
BDC SVD test case took 0.0390483s
approximation error due to randomised_svd 386.525
Randomised SVD test case took 0.00819987s
Viennacl SVD constructors and copy to device took 0.15249s
Viennacl SVD test case took 1.09183s
dbeurle commented 6 years ago

To fix the compilation issues I'll add the correct package to the docker image so we can test the OpenCL solvers with a CPU backend.

shadisharba commented 6 years ago

I'm not sure whether we can improve the ViennaCL timing by changing the SVD algorithm. Could you do the same kind of comparison for the eigenvalue solver? If the results are interesting, I'll try to change the SVD implementation.