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

none_of - Kokkos documentation

none_of

Header: <Kokkos_StdAlgorithms.hpp>

Description

Returns true if no element in a range or rank-1 View satisfies a target unary predicate.

Interface

Warning

This is currently inside the Kokkos::Experimental namespace.

Overload set accepting execution space
template <class ExecutionSpace, class IteratorType, class Predicate>
bool none_of(const ExecutionSpace& exespace,                              (1)
             IteratorType first, IteratorType last,
             Predicate predicate);

template <class ExecutionSpace, class IteratorType, class Predicate>
bool none_of(const std::string& label, const ExecutionSpace& exespace,    (2)
             IteratorType first, IteratorType last,
             Predicate predicate);

template <class ExecutionSpace, class DataType, class... Properties,      (3)
          class Predicate>
bool none_of(const ExecutionSpace& exespace,
             const ::Kokkos::View<DataType, Properties...>& v,
             Predicate predicate);

template <class ExecutionSpace, class DataType, class... Properties,
          class Predicate>
bool none_of(const std::string& label, const ExecutionSpace& exespace,    (4)
             const ::Kokkos::View<DataType, Properties...>& v,
             Predicate predicate);
Overload set accepting a team handle

Added in version 4.2.

template <class TeamHandleType, class IteratorType, class Predicate>
KOKKOS_FUNCTION
bool none_of(const TeamHandleType& teamHandle,                            (5)
             IteratorType first, IteratorType last,
             Predicate predicate);

template <class TeamHandleType, class DataType, class... Properties,
          class Predicate>
KOKKOS_FUNCTION
bool none_of(const TeamHandleType& teamHandle,                           (6)
             const ::Kokkos::View<DataType, Properties...>& v,
             Predicate predicate);
Parameters and Requirements Return Value

Returns true if no elements in the range or view satisfy the unary predicate, or if the range or view are empty. Returns false otherwise.


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