Kokkos Core Kernels Package  Version of the Day
Public Member Functions | List of all members
Kokkos::RangePolicy< Arg0, Arg1, Arg2, ExecSpace >::WorkRange Struct Reference

Subrange for a partition's rank and size. More...

#include <Kokkos_ExecPolicy.hpp>

Public Member Functions

KOKKOS_INLINE_FUNCTION WorkRange (const RangePolicy &range, const int part_rank, const int part_size)
 Subrange for a partition's rank and size. More...
 

Detailed Description

template<class Arg0 = void, class Arg1 = void, class Arg2 = void, class ExecSpace = typename std::conditional < Impl::is_execution_space< Arg0 >::value , Arg0 , Kokkos::DefaultExecutionSpace >::type>
struct Kokkos::RangePolicy< Arg0, Arg1, Arg2, ExecSpace >::WorkRange

Subrange for a partition's rank and size.

Typically used to partition a range over a group of threads.

Definition at line 191 of file Kokkos_ExecPolicy.hpp.

Constructor & Destructor Documentation

template<class Arg0 = void, class Arg1 = void, class Arg2 = void, class ExecSpace = typename std::conditional < Impl::is_execution_space< Arg0 >::value , Arg0 , Kokkos::DefaultExecutionSpace >::type>
KOKKOS_INLINE_FUNCTION Kokkos::RangePolicy< Arg0, Arg1, Arg2, ExecSpace >::WorkRange::WorkRange ( const RangePolicy range,
const int  part_rank,
const int  part_size 
)
inline

Subrange for a partition's rank and size.

Typically used to partition a range over a group of threads.

Definition at line 203 of file Kokkos_ExecPolicy.hpp.


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