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

generate - Kokkos documentation

generate

Header: <Kokkos_StdAlgorithms.hpp>

Description

Assigns the value generated by the functor g to each elements in the range [first, last) (overloads 1,2,5) or in the view (overloads 3,4,6).

Interface

Warning

This is currently inside the Kokkos::Experimental namespace.

Overload set accepting execution space
template <class ExecutionSpace, class IteratorType, class GeneratorType>
void generate(const ExecutionSpace& exespace,                                (1)
              IteratorType first, IteratorType last,
              GeneratorType g);

template <class ExecutionSpace, class IteratorType, class GeneratorType>
void generate(const std::string& label, const ExecutionSpace& exespace,      (2)
              IteratorType first, IteratorType last,
              GeneratorType g);

template <class ExecutionSpace, class DataType, class... Properties, class GeneratorType>
void generate(const ExecutionSpace& exespace,                                (3)
              const Kokkos::View<DataType, Properties...>& view,
              GeneratorType g);

template <class ExecutionSpace, class DataType, class... Properties, class GeneratorType>
void generate(const std::string& label, const ExecutionSpace& exespace,      (4)
              const Kokkos::View<DataType, Properties...>& view,
              GeneratorType g);
Overload set accepting a team handle

Added in version 4.2.

template <class TeamHandleType, class IteratorType, class GeneratorType>
KOKKOS_FUNCTION
void generate(const TeamHandleType& teamHandle,                              (5)
              IteratorType first, IteratorType last,
              GeneratorType g);

template <class TeamHandleType, class DataType, class... Properties, class GeneratorType>
KOKKOS_FUNCTION
void generate(const TeamHandleType& teamHandle,                              (6)
              const Kokkos::View<DataType, Properties...>& view,
              GeneratorType g);
Parameters and Requirements Return Value

None


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