kokkos-execution 0.0.1
Loading...
Searching...
No Matches
Examples::Graph::ParallelFor< Exec > Struct Template Reference
Inheritance diagram for Examples::Graph::ParallelFor< Exec >:
Kokkos::utils::tests::scoped::ExecutionSpace< Exec >

Public Types

using base_t = Kokkos::utils::tests::scoped::ExecutionSpace<Exec>
using policy_t = Kokkos::RangePolicy<Exec>
using view_t = Kokkos::View<char[6], Exec>

Public Member Functions

 ParallelFor ()
void check () const
void reset () const
void with_kokkos_graph () const
 Create the sequence with Kokkos::Graph.
void with_graph_context () const
 Create the sequence with Kokkos::Execution::GraphContext.
Public Member Functions inherited from Kokkos::utils::tests::scoped::ExecutionSpace< Exec >
 ExecutionSpace ()
ExecutionSpace & operator= (const ExecutionSpace &)=delete
 ExecutionSpace (const ExecutionSpace &)=delete

Protected Attributes

view_t data

Additional Inherited Members

Public Attributes inherited from Kokkos::utils::tests::scoped::ExecutionSpace< Exec >
Exec exec

Detailed Description

template<Kokkos::ExecutionSpace Exec>
struct Examples::Graph::ParallelFor< Exec >
Examples
examples/graph/example_parallel_for.cpp.

Definition at line 30 of file example_parallel_for.cpp.

Member Typedef Documentation

◆ base_t

template<Kokkos::ExecutionSpace Exec>
using Examples::Graph::ParallelFor< Exec >::base_t = Kokkos::utils::tests::scoped::ExecutionSpace<Exec>

◆ policy_t

template<Kokkos::ExecutionSpace Exec>
using Examples::Graph::ParallelFor< Exec >::policy_t = Kokkos::RangePolicy<Exec>

◆ view_t

template<Kokkos::ExecutionSpace Exec>
using Examples::Graph::ParallelFor< Exec >::view_t = Kokkos::View<char[6], Exec>

Constructor & Destructor Documentation

◆ ParallelFor()

template<Kokkos::ExecutionSpace Exec>
Examples::Graph::ParallelFor< Exec >::ParallelFor ( )
inline

Member Function Documentation

◆ check()

template<Kokkos::ExecutionSpace Exec>
void Examples::Graph::ParallelFor< Exec >::check ( ) const
inline
Examples
examples/graph/example_parallel_for.cpp.

Definition at line 42 of file example_parallel_for.cpp.

References data.

◆ reset()

template<Kokkos::ExecutionSpace Exec>
void Examples::Graph::ParallelFor< Exec >::reset ( ) const
inline

◆ with_graph_context()

◆ with_kokkos_graph()

template<Kokkos::ExecutionSpace Exec>
void Examples::Graph::ParallelFor< Exec >::with_kokkos_graph ( ) const
inline

Create the sequence with Kokkos::Graph.

Examples
examples/graph/example_parallel_for.cpp.

Definition at line 54 of file example_parallel_for.cpp.

References check(), data, Kokkos::utils::tests::scoped::ExecutionSpace< Exec >::exec, and reset().

Member Data Documentation

◆ data

template<Kokkos::ExecutionSpace Exec>
view_t Examples::Graph::ParallelFor< Exec >::data
protected

The documentation for this struct was generated from the following file: