DASH  0.2.0
Typedefs | Enumerations | Functions | Variables
dash::internal Namespace Reference

Typedefs

typedef enum dash::internal::DistributionType DistributionType
 
typedef int32_t default_signed_index
 
typedef uint32_t default_unsigned_index
 

Enumerations

enum  DistributionType {
  DIST_UNDEFINED = 0, DIST_NONE, DIST_BLOCKED, DIST_CYCLIC,
  DIST_BLOCKCYCLIC, DIST_TILE
}
 
enum  GlobMemKind { GlobMemKind::COLLECTIVE, GlobMemKind::LOCAL }
 

Functions

template<typename ValueType , class GlobInputIt >
dash::Future< ValueType * > copy_impl (GlobInputIt in_first, GlobInputIt in_last, ValueType *out_first)
 Blocking implementation of dash::copy (global to local) without optimization for local subrange. More...
 
template<typename ValueType , class GlobOutputIt >
GlobOutputIt copy_impl (ValueType *in_first, ValueType *in_last, GlobOutputIt out_first)
 Blocking implementation of dash::copy (local to global) without optimization for local subrange. More...
 
template<typename ValueType >
void multiply_local (const ValueType *A, const ValueType *B, ValueType *C, long long m, long long n, long long p, MemArrange storage)
 Naive matrix multiplication for local multiplication of matrix blocks, used only for tests and where MKL is not available. More...
 
template<typename ValueType >
dart_ret_t accumulate_blocking_impl (dart_gptr_t dest, ValueType *values, size_t nvalues, dart_operation_t op, dart_team_t team)
 Wrapper of the blocking DART accumulate operation. More...
 
template<typename ValueType >
dart_ret_t accumulate_impl (dart_gptr_t dest, ValueType *values, size_t nvalues, dart_operation_t op, dart_team_t team)
 Wrapper of the non-blocking DART accumulate operation. More...
 

Variables

constexpr GlobMemKind COLLECTIVE { GlobMemKind::COLLECTIVE }
 
constexpr GlobMemKind COLL { GlobMemKind::COLLECTIVE }
 
constexpr GlobMemKind LOCAL { GlobMemKind::LOCAL }
 

Typedef Documentation

Enumeration Type Documentation

Enumerator
DIST_UNDEFINED 
DIST_NONE 
DIST_BLOCKED 
DIST_CYCLIC 
DIST_BLOCKCYCLIC 
DIST_TILE 
Enumerator
COLLECTIVE 
LOCAL 

Function Documentation

template<typename ValueType >
dart_ret_t dash::internal::accumulate_blocking_impl ( dart_gptr_t  dest,
ValueType *  values,
size_t  nvalues,
dart_operation_t  op,
dart_team_t  team 
)
inline

Wrapper of the blocking DART accumulate operation.

template<typename ValueType >
dart_ret_t dash::internal::accumulate_impl ( dart_gptr_t  dest,
ValueType *  values,
size_t  nvalues,
dart_operation_t  op,
dart_team_t  team 
)

Wrapper of the non-blocking DART accumulate operation.

template<typename ValueType , class GlobInputIt >
dash::Future<ValueType *> dash::internal::copy_impl ( GlobInputIt  in_first,
GlobInputIt  in_last,
ValueType *  out_first 
)

Blocking implementation of dash::copy (global to local) without optimization for local subrange.

template<typename ValueType , class GlobOutputIt >
GlobOutputIt dash::internal::copy_impl ( ValueType *  in_first,
ValueType *  in_last,
GlobOutputIt  out_first 
)

Blocking implementation of dash::copy (local to global) without optimization for local subrange.

template<typename ValueType >
void dash::internal::multiply_local ( const ValueType *  A,
const ValueType *  B,
ValueType *  C,
long long  m,
long long  n,
long long  p,
MemArrange  storage 
)

Naive matrix multiplication for local multiplication of matrix blocks, used only for tests and where MKL is not available.

Parameters
AMatrix to multiply, extents n x m
BMatrix to multiply, extents m x p
CMatrix to contain the multiplication result, extents n x p

Variable Documentation

constexpr GlobMemKind dash::internal::COLL { GlobMemKind::COLLECTIVE }
constexpr GlobMemKind dash::internal::COLLECTIVE { GlobMemKind::COLLECTIVE }
constexpr GlobMemKind dash::internal::LOCAL { GlobMemKind::LOCAL }