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

remove_copy_if - Kokkos documentation

remove_copy_if

Header: Kokkos_StdAlgorithms.hpp

Description

Copies the elements from a range to a new range starting at first_to or from view_from to view_dest omitting those for which pred returns true.

Interface

Warning

This is currently inside the Kokkos::Experimental namespace.

Overload set accepting execution space
template <
  class ExecutionSpace,
  class InputIterator, class OutputIterator,
  class UnaryPredicate>
OutputIterator remove_copy_if(const ExecutionSpace& exespace,                   (1)
                              InputIterator first_from,
                              InputIterator last_from,
                              OutputIterator first_to,
                              const UnaryPredicate& pred);

template <
  class ExecutionSpace,
  class InputIterator, class OutputIterator,
  class UnaryPredicate>
OutputIterator remove_copy_if(const std::string& label,                         (2)
                              const ExecutionSpace& exespace,
                              InputIterator first_from,
                              InputIterator last_from,
                              OutputIterator first_to,
                              const UnaryPredicate& pred);

template <
  class ExecutionSpace,
  class DataType1, class... Properties1,
  class DataType2, class... Properties2,
  class UnaryPredicate>
auto remove_copy_if(const ExecutionSpace& exespace,                             (3)
                  const Kokkos::View<DataType1, Properties1...>& view_from,
                  const Kokkos::View<DataType2, Properties2...>& view_dest,
                  const UnaryPredicate& pred);

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

Added in version 4.2.

template <
  class TeamHandleType,
  class InputIterator, class OutputIterator,
  class UnaryPredicate>
KOKKOS_FUNCTION
OutputIterator remove_copy_if(const TeamHandleType& teamHandle,                 (5)
                              InputIterator first_from,
                              InputIterator last_from,
                              OutputIterator first_to,
                              const UnaryPredicate& pred);

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

Iterator to the element after 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