A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://kokkos.github.io/kokkos-core-wiki/API/algorithms/std-algorithms/all/StdCopyBackward.html below:

copy_backward - Kokkos documentation

copy_backward

Header: <Kokkos_StdAlgorithms.hpp>

Description

Copies the elements in reverse order from range [first_from, last_from) to another range ending at last_to or from a source view view_from to a destination view view_to. The relative order is preserved.

Interface

Warning

This is currently inside the Kokkos::Experimental namespace.

Overload set accepting execution space
template <class ExecutionSpace, class InputIteratorType, class OutputIteratorType>
OutputIteratorType copy_backward(const ExecutionSpace& exespace,                (1)
                                 InputIteratorType first_from,
                                 InputIteratorType last_from,
                                 OutputIteratorType last_to);

template <class ExecutionSpace, class InputIteratorType, class OutputIteratorType>
OutputIteratorType copy_backward(const std::string& label,
                                 const ExecutionSpace& exespace,                (2)
                                 InputIteratorType first_from,
                                 InputIteratorType last_from,
                                 OutputIteratorType last_to);

template <
  class ExecutionSpace,
  class DataType1, class... Properties1,
  class DataType2, class... Properties2
>
auto copy_backward(const ExecutionSpace& exespace,                              (3)
                   const Kokkos::View<DataType1, Properties1...>& view_from,
                   const Kokkos::View<DataType2, Properties2...>& view_to);

template <
  class ExecutionSpace,
  class DataType1, class... Properties1,
  class DataType2, class... Properties2
>
auto copy_backward(const std::string& label, const ExecutionSpace& exespace,    (4)
                   const Kokkos::View<DataType1, Properties1...>& view_from,
                   const Kokkos::View<DataType2, Properties2...>& view_to);
Overload set accepting a team handle

Added in version 4.2.

template <class TeamHandleType, class InputIteratorType, class OutputIteratorType>
KOKKOS_FUNCTION
OutputIteratorType copy_backward(const TeamHandleType& teamHandle,             (5)
                                 InputIteratorType first_from,
                                 InputIteratorType last_from,
                                 OutputIteratorType last_to);

template <
  class TeamHandleType,
  class DataType1, class... Properties1,
  class DataType2, class... Properties2>
KOKKOS_FUNCTION
auto copy_backward(const TeamHandleType& teamHandle,                           (6)
                   const ::Kokkos::View<DataType1, Properties1...>& view_from,
                   ::Kokkos::View<DataType2, Properties2...>& view_to);
Parameters and Requirements Return Value

Iterator to the last element copied.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4