Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
monoid.h File Reference
#include "group.h"
Include dependency graph for monoid.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  CTF::Monoid< dtype, is_ord >
 A Monoid is a Set equipped with a binary addition operator '+' or a custom function addition must have an identity and be associative, does not need to be commutative special case (parent) of a semiring, group, and ring. More...
 

Namespaces

 CTF_int
 
 CTF
 

Functions

template<typename dtype >
dtype CTF_int::default_add (dtype a, dtype b)
 
template<typename dtype , void(*)(int, dtype const *, dtype *) fxpy>
void CTF_int::default_mxpy (void *X, void *Y, int *n, MPI_Datatype *d)
 
template<typename dtype >
void CTF_int::default_fxpy (int n, dtype const *X, dtype *Y)
 
template<typename dtype >
MPI_Op CTF_int::get_default_maddop ()
 
template<>
MPI_Op CTF_int::get_default_maddop< char > ()
 
template<>
MPI_Op CTF_int::get_default_maddop< bool > ()
 
template<>
MPI_Op CTF_int::get_default_maddop< int > ()
 
template<>
MPI_Op CTF_int::get_default_maddop< int64_t > ()
 
template<>
MPI_Op CTF_int::get_default_maddop< unsigned int > ()
 
template<>
MPI_Op CTF_int::get_default_maddop< uint64_t > ()
 
template<>
MPI_Op CTF_int::get_default_maddop< float > ()
 
template<>
MPI_Op CTF_int::get_default_maddop< double > ()
 
template<>
MPI_Op CTF_int::get_default_maddop< long double > ()
 
template<>
MPI_Op CTF_int::get_default_maddop< std::complex< float > > ()
 
template<>
MPI_Op CTF_int::get_default_maddop< std::complex< double > > ()
 
template<typename dtype >
MPI_Op CTF_int::get_maddop (void(*fxpy)(int, dtype const *, dtype *))