23 #include <cusp/detail/config.h>
25 #include <thrust/execution_policy.h>
41 template <
typename DerivedPolicy,
44 void gmres(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
48 const size_t restart);
55 template <
class LinearOperator,
class Vector>
56 void gmres(LinearOperator& A,
59 const size_t restart);
61 template <
typename DerivedPolicy,
65 void gmres(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
76 template <
class LinearOperator,
79 void gmres(LinearOperator& A,
85 template <
typename DerivedPolicy,
90 void gmres(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
162 template <
class LinearOperator,
165 class Preconditioner>
166 void gmres(LinearOperator& A,
169 const size_t restart,
178 #include <cusp/krylov/detail/gmres.inl>
void gmres(LinearOperator &A, Vector &x, Vector &b, const size_t restart, Monitor &monitor, Preconditioner &M)
GMRES method.