Xped
Loading...
Searching...
No Matches
Macros.hpp File Reference
#include <boost/predef.h>
#include <string>
Include dependency graph for Macros.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define XPED_TIME_EFFICIENT
 
#define SPDLOG_ACTIVE_LEVEL   SPDLOG_LEVEL_OFF
 
#define XPED_INIT_TREE_CACHE_VARIABLE(VARIABLE_NAME, CACHE_SIZE)
 
#define XPED_MPI_BARRIER(comm)
 

Variables

const std::string XPED_BLAS_STR = "None"
 

Macro Definition Documentation

◆ SPDLOG_ACTIVE_LEVEL

#define SPDLOG_ACTIVE_LEVEL   SPDLOG_LEVEL_OFF

◆ XPED_INIT_TREE_CACHE_VARIABLE

#define XPED_INIT_TREE_CACHE_VARIABLE (   VARIABLE_NAME,
  CACHE_SIZE 
)
Value:
namespace Xped {\
template <std::size_t Rank, typename Symmetry> \
struct FusionTree; \
} \
template <int shift, std::size_t Rank, std::size_t CoRank, typename Symmetry> \
struct CacheManager \
{ \
typedef Xped::FusionTree<Rank - shift, Symmetry> NewTree; \
typedef typename Symmetry::Scalar Scalar; \
typedef LRU::Cache<std::tuple<Tree, CoTree, Xped::util::Permutation>, std::unordered_map<std::pair<NewTree, NewCoTree>, Scalar>> CacheType; \
CacheManager(std::size_t cache_size) \
{ \
cache = CacheType(cache_size); \
cache.monitor(); \
} \
CacheType cache; \
}; \
template <int shift, std::size_t Rank, std::size_t CoRank, typename Symmetry> \
CacheManager<shift, Rank, CoRank, Symmetry> VARIABLE_NAME(CACHE_SIZE);
Definition: bench.cpp:62
Definition: FusionTree.hpp:24

◆ XPED_MPI_BARRIER

#define XPED_MPI_BARRIER (   comm)

◆ XPED_TIME_EFFICIENT

#define XPED_TIME_EFFICIENT

Variable Documentation

◆ XPED_BLAS_STR

const std::string XPED_BLAS_STR = "None"