Zoltan2
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
Zoltan2::ReduceWeightsFunctor< 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

 ReduceWeightsFunctor (int mj_loop_count, array_t mj_max_scalar, part_t mj_concurrent_current_part, part_t mj_num_cuts, part_t mj_current_work_part, part_t mj_current_concurrent_num_parts, part_t mj_left_right_array_size, part_t mj_weight_array_size, Kokkos::View< index_t *, device_t > &mj_permutations, Kokkos::View< scalar_t *, device_t > &mj_coordinates, Kokkos::View< scalar_t **, device_t > &mj_weights, Kokkos::View< part_t *, device_t > &mj_parts, Kokkos::View< scalar_t *, device_t > &mj_cut_coordinates, Kokkos::View< index_t *, device_t > &mj_part_xadj, bool mj_uniform_weights0, scalar_t mj_sEpsilon)
 
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

int loop_count
 
array_t max_scalar
 
part_t concurrent_current_part
 
part_t num_cuts
 
part_t current_work_part
 
part_t current_concurrent_num_parts
 
int value_count_rightleft
 
int value_count_weights
 
int value_count
 
Kokkos::View< index_t *, device_t > permutations
 
Kokkos::View< scalar_t *, device_t > coordinates
 
Kokkos::View< scalar_t **, device_t > weights
 
Kokkos::View< part_t *, device_t > parts
 
Kokkos::View< scalar_t *, device_t > cut_coordinates
 
Kokkos::View< index_t *, device_t > part_xadj
 
bool uniform_weights0
 
scalar_t sEpsilon
 

Detailed Description

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

Definition at line 3634 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::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::member_type

Definition at line 3635 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::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::scalar_view_t

Definition at line 3636 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::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::value_type[]

Definition at line 3639 of file Zoltan2_AlgMultiJagged.hpp.

Constructor & Destructor Documentation

◆ ReduceWeightsFunctor()

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
Zoltan2::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::ReduceWeightsFunctor ( int  mj_loop_count,
array_t  mj_max_scalar,
part_t  mj_concurrent_current_part,
part_t  mj_num_cuts,
part_t  mj_current_work_part,
part_t  mj_current_concurrent_num_parts,
part_t  mj_left_right_array_size,
part_t  mj_weight_array_size,
Kokkos::View< index_t *, device_t > &  mj_permutations,
Kokkos::View< scalar_t *, device_t > &  mj_coordinates,
Kokkos::View< scalar_t **, device_t > &  mj_weights,
Kokkos::View< part_t *, device_t > &  mj_parts,
Kokkos::View< scalar_t *, device_t > &  mj_cut_coordinates,
Kokkos::View< index_t *, device_t > &  mj_part_xadj,
bool  mj_uniform_weights0,
scalar_t  mj_sEpsilon 
)
inline

Definition at line 3667 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::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::team_shmem_size ( int  team_size) const
inline

Definition at line 3715 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::ReduceWeightsFunctor< 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 3736 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::ReduceWeightsFunctor< 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 4020 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::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::init ( value_type  dst) const
inline

Definition at line 4036 of file Zoltan2_AlgMultiJagged.hpp.

Member Data Documentation

◆ loop_count

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
int Zoltan2::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::loop_count

Definition at line 3642 of file Zoltan2_AlgMultiJagged.hpp.

◆ max_scalar

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
array_t Zoltan2::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::max_scalar

Definition at line 3643 of file Zoltan2_AlgMultiJagged.hpp.

◆ 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::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::concurrent_current_part

Definition at line 3645 of file Zoltan2_AlgMultiJagged.hpp.

◆ num_cuts

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
part_t Zoltan2::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::num_cuts

Definition at line 3646 of file Zoltan2_AlgMultiJagged.hpp.

◆ current_work_part

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
part_t Zoltan2::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::current_work_part

Definition at line 3647 of file Zoltan2_AlgMultiJagged.hpp.

◆ current_concurrent_num_parts

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
part_t Zoltan2::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::current_concurrent_num_parts

Definition at line 3648 of file Zoltan2_AlgMultiJagged.hpp.

◆ value_count_rightleft

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
int Zoltan2::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::value_count_rightleft

Definition at line 3649 of file Zoltan2_AlgMultiJagged.hpp.

◆ value_count_weights

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
int Zoltan2::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::value_count_weights

Definition at line 3650 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::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::value_count

Definition at line 3651 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::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::permutations

Definition at line 3652 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::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::coordinates

Definition at line 3653 of file Zoltan2_AlgMultiJagged.hpp.

◆ weights

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::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::weights

Definition at line 3654 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::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::parts

Definition at line 3655 of file Zoltan2_AlgMultiJagged.hpp.

◆ cut_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::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::cut_coordinates

Definition at line 3656 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::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::part_xadj

Definition at line 3657 of file Zoltan2_AlgMultiJagged.hpp.

◆ uniform_weights0

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
bool Zoltan2::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::uniform_weights0

Definition at line 3658 of file Zoltan2_AlgMultiJagged.hpp.

◆ sEpsilon

template<class policy_t , class scalar_t , class part_t , class index_t , class device_t , class array_t >
scalar_t Zoltan2::ReduceWeightsFunctor< policy_t, scalar_t, part_t, index_t, device_t, array_t >::sEpsilon

Definition at line 3659 of file Zoltan2_AlgMultiJagged.hpp.


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