Is it possible to create preconditioner by view function like csr_matrix_view ?

29 views
Skip to first unread message

Ricky

unread,
Nov 20, 2017, 5:30:40 AM11/20/17
to cusp-users
Hello!

I'm new to use CUSP.
I've wrote a program refers to csr_raw.cu,
but I need to solve the matrix by cg which has a preconditioner.( cusp::precond::aggregation::smoothed_aggregation<int, double, cusp::device_memory> M(A) )
I wonder is there any way to create a preconditioner by view function like csr_matrix_view.

Thanks a lot. 



test.cu
Reply all
Reply to author
Forward
0 new messages