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/StdRotate.html below:

rotate - Kokkos documentation

rotate

Header: Kokkos_StdAlgorithms.hpp

Description

Swaps the elements in the range or in view in such a way that the element n_first or view(n_location) becomes the first element of the new range and n_first - 1 becomes the last element.

Interface

Warning

This is currently inside the Kokkos::Experimental namespace.

Overload set accepting execution space
template <class ExecutionSpace, class IteratorType>
IteratorType rotate(const ExecutionSpace& exespace,                            (1)
                    IteratorType first,
                    IteratorType n_first,
                    IteratorType last);

template <class ExecutionSpace, class IteratorType>
IteratorType rotate(const std::string& label, const ExecutionSpace& exespace,  (2)
                    IteratorType first,
                    IteratorType n_first,
                    IteratorType last);

template <class ExecutionSpace, class DataType, class... Properties>
auto rotate(const ExecutionSpace& exespace,                                    (3)
            const Kokkos::View<DataType, Properties...>& view,
            std::size_t n_location);

template <class ExecutionSpace, class DataType, class... Properties>
auto rotate(const std::string& label, const ExecutionSpace& exespace,          (4)
            const Kokkos::View<DataType, Properties...>& view,
            std::size_t n_location);
Overload set accepting a team handle

Added in version 4.2.

template <class TeamHandleType, class IteratorType>
KOKKOS_FUNCTION
IteratorType rotate(const TeamHandleType& teamHandle,                          (5)
                    IteratorType first,
                    IteratorType n_first,
                    IteratorType last);

template <class TeamHandleType, class DataType, class... Properties>
KOKKOS_FUNCTION
auto rotate(const TeamHandleType& teamHandle,                                  (6)
            const Kokkos::View<DataType, Properties...>& view,
            std::size_t n_location);
Parameters and Requirements Return Value

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