| 169 | template <class SrcEngine, class SrcLayout, |
| 170 | class DstEngine, class DstLayout> |
| 171 | CUTE_HOST_DEVICE |
| 172 | void |
| 173 | copy(AutoCopyAsync const& cpy, |
| 174 | Tensor<SrcEngine, SrcLayout> const& src, // (V,Rest...) |
| 175 | Tensor<DstEngine, DstLayout> & dst) // (V,Rest...) |
| 176 | { |
| 177 | copy_if(cpy, constant_fn<true_type>{}, src, dst); |
| 178 | } |
| 179 | |
| 180 | // |
| 181 | // copy -- CopyAtom |