Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
set.h File Reference
#include "../tensor/algstrct.h"
#include <limits>
#include <inttypes.h>
#include "monoid.h"
Include dependency graph for set.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  CTF::dtypePair< dtype >
 pair for sorting More...
 
class  CTF::Set< dtype, is_ord >
 Set class defined by a datatype and a min/max function (if it is partially ordered i.e. is_ord=true) currently assumes min and max are given by numeric_limits (custom min/max not allowed) More...
 

Namespaces

 CTF_int
 
 CTF
 

Macros

#define INST_ORD_TYPE(dtype)
 

Functions

bool CTF_int::try_mkl_coo_to_csr (int64_t nz, int nrow, char *csr_vs, int *csr_ja, int *csr_ia, char const *coo_vs, int const *coo_rs, int const *coo_cs, int el_size)
 
bool CTF_int::try_mkl_csr_to_coo (int64_t nz, int nrow, char const *csr_vs, int const *csr_ja, int const *csr_ia, char *coo_vs, int *coo_rs, int *coo_cs, int el_size)
 
template<typename dtype >
void CTF_int::seq_coo_to_csr (int64_t nz, int nrow, dtype *csr_vs, int *csr_ja, int *csr_ia, dtype const *coo_vs, int const *coo_rs, int const *coo_cs)
 
template<typename dtype >
void CTF_int::seq_csr_to_coo (int64_t nz, int nrow, dtype const *csr_vs, int const *csr_ja, int const *csr_ia, dtype *coo_vs, int *coo_rs, int *coo_cs)
 
template<typename dtype >
void CTF_int::def_coo_to_csr (int64_t nz, int nrow, dtype *csr_vs, int *csr_ja, int *csr_ia, dtype const *coo_vs, int const *coo_rs, int const *coo_cs)
 
template<typename dtype >
void CTF_int::def_csr_to_coo (int64_t nz, int nrow, dtype const *csr_vs, int const *csr_ja, int const *csr_ia, dtype *coo_vs, int *coo_rs, int *coo_cs)
 
template<typename dtype >
dtype CTF_int::default_addinv (dtype a)
 
template<typename dtype , bool is_ord>
std::enable_if< is_ord, dtype >::type CTF_int::default_abs (dtype a)
 
template<typename dtype , bool is_ord>
std::enable_if<!is_ord, dtype >::type CTF_int::default_abs (dtype a)
 
template<typename dtype , dtype(*)(dtype) abs>
void CTF_int::char_abs (char const *a, char *b)
 
template<typename dtype , bool is_ord>
std::enable_if< is_ord, dtype >::type CTF_int::default_min (dtype a, dtype b)
 
template<typename dtype , bool is_ord>
std::enable_if<!is_ord, dtype >::type CTF_int::default_min (dtype a, dtype b)
 
template<typename dtype , bool is_ord>
std::enable_if< is_ord, dtype >::type CTF_int::default_max_lim ()
 
template<typename dtype , bool is_ord>
std::enable_if<!is_ord, dtype >::type CTF_int::default_max_lim ()
 
template<typename dtype , bool is_ord>
std::enable_if< is_ord, dtype >::type CTF_int::default_min_lim ()
 
template<typename dtype , bool is_ord>
std::enable_if<!is_ord, dtype >::type CTF_int::default_min_lim ()
 
template<typename dtype , bool is_ord>
std::enable_if< is_ord, dtype >::type CTF_int::default_max (dtype a, dtype b)
 
template<typename dtype , bool is_ord>
std::enable_if<!is_ord, dtype >::type CTF_int::default_max (dtype a, dtype b)
 
template<typename dtype >
MPI_Datatype CTF_int::get_default_mdtype (bool &is_custom)
 
template<>
MPI_Datatype CTF_int::get_default_mdtype< bool > (bool &is_custom)
 
template<>
MPI_Datatype CTF_int::get_default_mdtype< std::complex< double > > (bool &is_custom)
 
template<>
MPI_Datatype CTF_int::get_default_mdtype< std::complex< long double > > (bool &is_custom)
 
template<>
MPI_Datatype CTF_int::get_default_mdtype< char > (bool &is_custom)
 
template<>
MPI_Datatype CTF_int::get_default_mdtype< int > (bool &is_custom)
 
template<>
MPI_Datatype CTF_int::get_default_mdtype< int64_t > (bool &is_custom)
 
template<>
MPI_Datatype CTF_int::get_default_mdtype< unsigned int > (bool &is_custom)
 
template<>
MPI_Datatype CTF_int::get_default_mdtype< uint64_t > (bool &is_custom)
 
template<>
MPI_Datatype CTF_int::get_default_mdtype< float > (bool &is_custom)
 
template<>
MPI_Datatype CTF_int::get_default_mdtype< double > (bool &is_custom)
 
template<>
MPI_Datatype CTF_int::get_default_mdtype< long double > (bool &is_custom)
 
template<>
MPI_Datatype CTF_int::get_default_mdtype< std::complex< float > > (bool &is_custom)
 
template<typename dtype >
constexpr bool CTF_int::get_default_is_ord ()
 

Macro Definition Documentation

#define INST_ORD_TYPE (   dtype)
Value:
template <> \
constexpr bool get_default_is_ord<dtype>(){ \
return true; \
}

Definition at line 238 of file set.h.