Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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_tpermutations
 
Kokkos::View< scalar_t
*, device_t
coordinates
 
Kokkos::View< scalar_t
**, device_t
weights
 
Kokkos::View< part_t *, device_tparts
 
Kokkos::View< scalar_t
*, device_t
cut_coordinates
 
Kokkos::View< index_t *, device_tpart_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 3594 of file Zoltan2_AlgMultiJagged.hpp.

Member Typedef Documentation

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 3595 of file Zoltan2_AlgMultiJagged.hpp.

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 3596 of file Zoltan2_AlgMultiJagged.hpp.

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 3599 of file Zoltan2_AlgMultiJagged.hpp.

Constructor & Destructor Documentation

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 3627 of file Zoltan2_AlgMultiJagged.hpp.

Member Function Documentation

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 3675 of file Zoltan2_AlgMultiJagged.hpp.

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 3696 of file Zoltan2_AlgMultiJagged.hpp.

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 3988 of file Zoltan2_AlgMultiJagged.hpp.

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 4004 of file Zoltan2_AlgMultiJagged.hpp.

Member Data Documentation

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 3602 of file Zoltan2_AlgMultiJagged.hpp.

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 3603 of file Zoltan2_AlgMultiJagged.hpp.

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 3605 of file Zoltan2_AlgMultiJagged.hpp.

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 3606 of file Zoltan2_AlgMultiJagged.hpp.

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 3607 of file Zoltan2_AlgMultiJagged.hpp.

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 3608 of file Zoltan2_AlgMultiJagged.hpp.

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 3609 of file Zoltan2_AlgMultiJagged.hpp.

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 3610 of file Zoltan2_AlgMultiJagged.hpp.

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 3611 of file Zoltan2_AlgMultiJagged.hpp.

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 3612 of file Zoltan2_AlgMultiJagged.hpp.

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 3613 of file Zoltan2_AlgMultiJagged.hpp.

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 3614 of file Zoltan2_AlgMultiJagged.hpp.

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 3615 of file Zoltan2_AlgMultiJagged.hpp.

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 3616 of file Zoltan2_AlgMultiJagged.hpp.

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 3617 of file Zoltan2_AlgMultiJagged.hpp.

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 3618 of file Zoltan2_AlgMultiJagged.hpp.

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 3619 of file Zoltan2_AlgMultiJagged.hpp.


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