24 #include <cusp/detail/config.h>
25 #include <cusp/detail/format.h>
27 #include <thrust/execution_policy.h>
41 template <
typename DerivedPolicy,
46 void cg_m(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
64 template <
class LinearOperator,
68 void cg_m(LinearOperator& A,
73 template <
typename DerivedPolicy,
79 void cg_m(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
151 template <
class LinearOperator,
156 typename thrust::detail::enable_if_convertible<typename LinearOperator::format,cusp::known_format>::type
157 cg_m(LinearOperator& A,
168 #include <cusp/krylov/detail/cg_m.inl>
thrust::detail::enable_if_convertible< typename LinearOperator::format, cusp::known_format >::type cg_m(LinearOperator &A, VectorType1 &x, VectorType2 &b, VectorType3 &sigma, Monitor &monitor)
Multi-mass Conjugate Gradient method.