Zoltan2
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
Zoltan2::ReduceArrayFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t > Struct Template Reference

#include <Zoltan2_AlgMultiJagged.hpp>

Public Types

typedef policy_t::member_type member_type
 
typedef Kokkos::View< scalar_t * > scalar_view_t
 
typedef array_t value_type[]
 

Public Member Functions

 ReduceArrayFunctor (part_t mj_concurrent_current_part, part_t mj_weight_array_size, Kokkos::View< index_t *, device_t > &mj_permutations, Kokkos::View< scalar_t *, device_t > &mj_coordinates, Kokkos::View< part_t *, device_t > &mj_parts, Kokkos::View< index_t *, device_t > &mj_part_xadj, Kokkos::View< index_t *, device_t > &mj_track_on_cuts)
 
size_t team_shmem_size (int team_size) const
 
KOKKOS_INLINE_FUNCTION void operator() (const member_type &teamMember, value_type teamSum) const
 
KOKKOS_INLINE_FUNCTION void join (value_type dst, const value_type src) const
 
KOKKOS_INLINE_FUNCTION void init (value_type dst) const
 

Public Attributes

part_t concurrent_current_part
 
int value_count
 
Kokkos::View< index_t *, device_t > permutations
 
Kokkos::View< scalar_t *, device_t > coordinates
 
Kokkos::View< part_t *, device_t > parts
 
Kokkos::View< index_t *, device_t > part_xadj
 
Kokkos::View< index_t *, device_t > track_on_cuts
 

Detailed Description

template<class policy_t, class scalar_t, class part_t, class index_t, class device_t, class array_t>
struct Zoltan2::ReduceArrayFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >

Definition at line 4444 of file Zoltan2_AlgMultiJagged.hpp.

Member Typedef Documentation

◆ member_type

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
typedef policy_t::member_type Zoltan2::ReduceArrayFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::member_type

Definition at line 4445 of file Zoltan2_AlgMultiJagged.hpp.

◆ scalar_view_t

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
typedef Kokkos::View<scalar_t*> Zoltan2::ReduceArrayFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::scalar_view_t

Definition at line 4446 of file Zoltan2_AlgMultiJagged.hpp.

◆ value_type

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
typedef array_t Zoltan2::ReduceArrayFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::value_type[]

Definition at line 4449 of file Zoltan2_AlgMultiJagged.hpp.

Constructor & Destructor Documentation

◆ ReduceArrayFunctor()

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
Zoltan2::ReduceArrayFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::ReduceArrayFunctor ( part_t  mj_concurrent_current_part,
part_t  mj_weight_array_size,
Kokkos::View< index_t *, device_t > &  mj_permutations,
Kokkos::View< scalar_t *, device_t > &  mj_coordinates,
Kokkos::View< part_t *, device_t > &  mj_parts,
Kokkos::View< index_t *, device_t > &  mj_part_xadj,
Kokkos::View< index_t *, device_t > &  mj_track_on_cuts 
)
inline

Definition at line 4464 of file Zoltan2_AlgMultiJagged.hpp.

Member Function Documentation

◆ team_shmem_size()

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
size_t Zoltan2::ReduceArrayFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::team_shmem_size ( int  team_size) const
inline

Definition at line 4489 of file Zoltan2_AlgMultiJagged.hpp.

◆ operator()()

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
KOKKOS_INLINE_FUNCTION void Zoltan2::ReduceArrayFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::operator() ( const member_type teamMember,
value_type  teamSum 
) const
inline

Definition at line 4508 of file Zoltan2_AlgMultiJagged.hpp.

◆ join()

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
KOKKOS_INLINE_FUNCTION void Zoltan2::ReduceArrayFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::join ( value_type  dst,
const value_type  src 
) const
inline

Definition at line 4609 of file Zoltan2_AlgMultiJagged.hpp.

◆ init()

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
KOKKOS_INLINE_FUNCTION void Zoltan2::ReduceArrayFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::init ( value_type  dst) const
inline

Definition at line 4615 of file Zoltan2_AlgMultiJagged.hpp.

Member Data Documentation

◆ concurrent_current_part

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
part_t Zoltan2::ReduceArrayFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::concurrent_current_part

Definition at line 4452 of file Zoltan2_AlgMultiJagged.hpp.

◆ value_count

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
int Zoltan2::ReduceArrayFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::value_count

Definition at line 4453 of file Zoltan2_AlgMultiJagged.hpp.

◆ permutations

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
Kokkos::View<index_t*, device_t> Zoltan2::ReduceArrayFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::permutations

Definition at line 4454 of file Zoltan2_AlgMultiJagged.hpp.

◆ coordinates

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
Kokkos::View<scalar_t *, device_t> Zoltan2::ReduceArrayFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::coordinates

Definition at line 4455 of file Zoltan2_AlgMultiJagged.hpp.

◆ parts

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
Kokkos::View<part_t*, device_t> Zoltan2::ReduceArrayFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::parts

Definition at line 4456 of file Zoltan2_AlgMultiJagged.hpp.

◆ part_xadj

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
Kokkos::View<index_t *, device_t> Zoltan2::ReduceArrayFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::part_xadj

Definition at line 4457 of file Zoltan2_AlgMultiJagged.hpp.

◆ track_on_cuts

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
Kokkos::View<index_t *, device_t> Zoltan2::ReduceArrayFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::track_on_cuts

Definition at line 4458 of file Zoltan2_AlgMultiJagged.hpp.


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