23 #include <cusp/detail/config.h>
25 #include <thrust/execution_policy.h>
40 template <
typename DerivedPolicy,
43 void cr(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
53 template <
class LinearOperator,
55 void cr(LinearOperator& A,
63 template <
class LinearOperator,
66 void cr(LinearOperator& A,
71 template <
typename DerivedPolicy,
75 void cr(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
81 template <
typename DerivedPolicy,
86 void cr(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
155 template <
class LinearOperator,
158 class Preconditioner>
159 void cr(LinearOperator& A,
170 #include <cusp/krylov/detail/cr.inl>
void cr(LinearOperator &A, Vector &x, Vector &b, Monitor &monitor, Preconditioner &M)
Conjugate Residual method.