TiledArray::TileOpsLogger< T > Struct Template Reference
Inheritance diagram for TiledArray::TileOpsLogger< T >:
Collaboration diagram for TiledArray::TileOpsLogger< T >:

Documentation

template<typename T>
struct TiledArray::TileOpsLogger< T >

Definition at line 39 of file logger.h.

Public Types

using range_transform_t = std::function< Range(const Range &)>
 
using range_filter_t = std::function< bool(const Range &)>
 
using gemm_printer_t = std::function< void(std::ostream &os, const Range &, const T *, const Range &, const T *, const Range &, const T *)>
 

Public Member Functions

template<typename U >
TileOpsLoggeroperator<< (U &&arg)
 
TileOpsLoggeroperator<< (std::ostream &(*func)(std::ostream &))
 

Public Attributes

bool gemm = false
 
range_transform_t gemm_left_range_transform
 
range_transform_t gemm_right_range_transform
 
range_transform_t gemm_result_range_transform
 
range_filter_t gemm_result_range_filter
 
range_filter_t gemm_left_range_filter
 
range_filter_t gemm_right_range_filter
 
bool gemm_print_contributions = false
 
gemm_printer_t gemm_printer
 
std::ostream * log = &std::cout
 

Friends

class Singleton< TileOpsLogger >
 

Additional Inherited Members

- Static Public Member Functions inherited from TiledArray::Singleton< TileOpsLogger< T > >
static std::enable_if_t< Singleton< D >::derived_is_default_constructible, D & > get_instance ()
 
static D & get_instance (std::enable_if_t<!Singleton< TileOpsLogger< T > >::derived_is_default_constructible > *=nullptr)
 
static std::enable_if_t< Singleton< D >::derived_is_default_constructible, D * > get_instance_ptr ()
 
static D * get_instance_ptr (std::enable_if_t<!Singleton< TileOpsLogger< T > >::derived_is_default_constructible > *=nullptr)
 
static void set_instance (Args &&... args)
 
- Protected Member Functions inherited from TiledArray::Singleton< TileOpsLogger< T > >
 Singleton (Args &&... args)
 
- Static Protected Member Functions inherited from TiledArray::Singleton< TileOpsLogger< T > >
static auto & instance_accessor ()
 

Member Typedef Documentation

◆ gemm_printer_t

template<typename T >
using TiledArray::TileOpsLogger< T >::gemm_printer_t = std::function<void(std::ostream& os, const Range&, const T*, const Range&, const T*, const Range&, const T*)>

Definition at line 42 of file logger.h.

◆ range_filter_t

template<typename T >
using TiledArray::TileOpsLogger< T >::range_filter_t = std::function<bool(const Range&)>

Definition at line 41 of file logger.h.

◆ range_transform_t

template<typename T >
using TiledArray::TileOpsLogger< T >::range_transform_t = std::function<Range(const Range&)>

Definition at line 40 of file logger.h.

Member Function Documentation

◆ operator<<() [1/2]

template<typename T >
TileOpsLogger& TiledArray::TileOpsLogger< T >::operator<< ( std::ostream &(*)(std::ostream &)  func)
inline

Definition at line 66 of file logger.h.

◆ operator<<() [2/2]

template<typename T >
template<typename U >
TileOpsLogger& TiledArray::TileOpsLogger< T >::operator<< ( U &&  arg)
inline

Definition at line 61 of file logger.h.

Friends And Related Function Documentation

◆ Singleton< TileOpsLogger >

template<typename T >
friend class Singleton< TileOpsLogger >
friend

Definition at line 66 of file logger.h.

Member Data Documentation

◆ gemm

template<typename T >
bool TiledArray::TileOpsLogger< T >::gemm = false

Definition at line 47 of file logger.h.

◆ gemm_left_range_filter

template<typename T >
range_filter_t TiledArray::TileOpsLogger< T >::gemm_left_range_filter

Definition at line 52 of file logger.h.

◆ gemm_left_range_transform

template<typename T >
range_transform_t TiledArray::TileOpsLogger< T >::gemm_left_range_transform

Definition at line 48 of file logger.h.

◆ gemm_print_contributions

template<typename T >
bool TiledArray::TileOpsLogger< T >::gemm_print_contributions = false

Definition at line 54 of file logger.h.

◆ gemm_printer

template<typename T >
gemm_printer_t TiledArray::TileOpsLogger< T >::gemm_printer

Definition at line 55 of file logger.h.

◆ gemm_result_range_filter

template<typename T >
range_filter_t TiledArray::TileOpsLogger< T >::gemm_result_range_filter

Definition at line 51 of file logger.h.

◆ gemm_result_range_transform

template<typename T >
range_transform_t TiledArray::TileOpsLogger< T >::gemm_result_range_transform

Definition at line 50 of file logger.h.

◆ gemm_right_range_filter

template<typename T >
range_filter_t TiledArray::TileOpsLogger< T >::gemm_right_range_filter

Definition at line 53 of file logger.h.

◆ gemm_right_range_transform

template<typename T >
range_transform_t TiledArray::TileOpsLogger< T >::gemm_right_range_transform

Definition at line 49 of file logger.h.

◆ log

template<typename T >
std::ostream* TiledArray::TileOpsLogger< T >::log = &std::cout

Definition at line 58 of file logger.h.


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