23 #include <cusp/detail/config.h>
25 #include <thrust/execution_policy.h>
37 template <
typename DerivedPolicy,
typename SourceType,
typename DestinationType>
38 void copy(
const thrust::detail::execution_policy_base<DerivedPolicy> &exec,
39 const SourceType& src, DestinationType& dst);
80 template <
typename SourceType,
typename DestinationType>
81 void copy(
const SourceType& src, DestinationType& dst);
87 #include <cusp/detail/copy.inl>
void copy(const SourceType &src, DestinationType &dst)
Copy one array or matrix to another.