PPL Logo

CkSparseReducer1D< T > Class Template Reference

#include <cksparsereducer.h>

Collaboration diagram for CkSparseReducer1D< T >:

Collaboration graph
[legend]

Public Member Functions

 CkSparseReducer1D (int numOfElements)
 ~CkSparseReducer1D ()
void add (int x, T data)
void contributeSum (ArrayElement *elem, const CkCallback &cb)
void contributeSum (ArrayElement *elem, const CkCallback &cb, int dummy)
void contributeSum (ArrayElement *elem, const CkCallback &cb, float dummy)
void contributeSum (ArrayElement *elem, const CkCallback &cb, double dummy)
void contributeProduct (ArrayElement *elem, const CkCallback &cb)
void contributeProduct (ArrayElement *elem, const CkCallback &cb, int dummy)
void contributeProduct (ArrayElement *elem, const CkCallback &cb, float dummy)
void contributeProduct (ArrayElement *elem, const CkCallback &cb, double dummy)
void contributeMax (ArrayElement *elem, const CkCallback &cb)
void contributeMax (ArrayElement *elem, const CkCallback &cb, int dummy)
void contributeMax (ArrayElement *elem, const CkCallback &cb, float dummy)
void contributeMax (ArrayElement *elem, const CkCallback &cb, double dummy)
void contributeMin (ArrayElement *elem, const CkCallback &cb)
void contributeMin (ArrayElement *elem, const CkCallback &cb, int dummy)
void contributeMin (ArrayElement *elem, const CkCallback &cb, float dummy)
void contributeMin (ArrayElement *elem, const CkCallback &cb, double dummy)

Protected Types

typedef sparseRec1D< T > rec

Protected Attributes

recrecords
int size
int index

Private Member Functions

 CkSparseReducer1D ()

Detailed Description

template<class T>
class CkSparseReducer1D< T >

Definition at line 139 of file cksparsereducer.h.


Member Typedef Documentation

template<class T>
typedef sparseRec1D<T> CkSparseReducer1D< T >::rec [protected]

Definition at line 265 of file cksparsereducer.h.


Constructor & Destructor Documentation

template<class T>
CkSparseReducer1D< T >::CkSparseReducer1D ( int  numOfElements  )  [inline]

template<class T>
CkSparseReducer1D< T >::~CkSparseReducer1D (  )  [inline]

Definition at line 153 of file cksparsereducer.h.

References CkSparseReducer1D< T >::records.

template<class T>
CkSparseReducer1D< T >::CkSparseReducer1D (  )  [inline, private]

Definition at line 271 of file cksparsereducer.h.


Member Function Documentation

template<class T>
void CkSparseReducer1D< T >::add ( int  x,
data 
) [inline]

template<class T>
void CkSparseReducer1D< T >::contributeSum ( ArrayElement elem,
const CkCallback cb 
) [inline]

Definition at line 174 of file cksparsereducer.h.

template<class T>
void CkSparseReducer1D< T >::contributeSum ( ArrayElement elem,
const CkCallback cb,
int  dummy 
) [inline]

template<class T>
void CkSparseReducer1D< T >::contributeSum ( ArrayElement elem,
const CkCallback cb,
float  dummy 
) [inline]

template<class T>
void CkSparseReducer1D< T >::contributeSum ( ArrayElement elem,
const CkCallback cb,
double  dummy 
) [inline]

template<class T>
void CkSparseReducer1D< T >::contributeProduct ( ArrayElement elem,
const CkCallback cb 
) [inline]

Definition at line 196 of file cksparsereducer.h.

template<class T>
void CkSparseReducer1D< T >::contributeProduct ( ArrayElement elem,
const CkCallback cb,
int  dummy 
) [inline]

template<class T>
void CkSparseReducer1D< T >::contributeProduct ( ArrayElement elem,
const CkCallback cb,
float  dummy 
) [inline]

template<class T>
void CkSparseReducer1D< T >::contributeProduct ( ArrayElement elem,
const CkCallback cb,
double  dummy 
) [inline]

template<class T>
void CkSparseReducer1D< T >::contributeMax ( ArrayElement elem,
const CkCallback cb 
) [inline]

Definition at line 220 of file cksparsereducer.h.

template<class T>
void CkSparseReducer1D< T >::contributeMax ( ArrayElement elem,
const CkCallback cb,
int  dummy 
) [inline]

template<class T>
void CkSparseReducer1D< T >::contributeMax ( ArrayElement elem,
const CkCallback cb,
float  dummy 
) [inline]

template<class T>
void CkSparseReducer1D< T >::contributeMax ( ArrayElement elem,
const CkCallback cb,
double  dummy 
) [inline]

template<class T>
void CkSparseReducer1D< T >::contributeMin ( ArrayElement elem,
const CkCallback cb 
) [inline]

Definition at line 242 of file cksparsereducer.h.

template<class T>
void CkSparseReducer1D< T >::contributeMin ( ArrayElement elem,
const CkCallback cb,
int  dummy 
) [inline]

template<class T>
void CkSparseReducer1D< T >::contributeMin ( ArrayElement elem,
const CkCallback cb,
float  dummy 
) [inline]

template<class T>
void CkSparseReducer1D< T >::contributeMin ( ArrayElement elem,
const CkCallback cb,
double  dummy 
) [inline]


Field Documentation

template<class T>
rec* CkSparseReducer1D< T >::records [protected]

template<class T>
int CkSparseReducer1D< T >::size [protected]

template<class T>
int CkSparseReducer1D< T >::index [protected]


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

Generated on Mon Sep 21 08:21:38 2020 for Charm++ by  doxygen 1.5.5