array_info.h File Reference
#include <array>
#include <atomic>
#include <string>
#include "mpqc/math/external/tiledarray/dist_array_vector.h"
#include "mpqc/math/external/tiledarray/tiledarray.h"
#include "mpqc/util/core/exenv.h"
#include "mpqc/util/misc/string.h"
#include "mpqc/math/external/eigen/eigen.h"
Include dependency graph for array_info.h:
This graph shows which files directly or indirectly include this file:

Namespaces

 mpqc
 The top-level namespace for all Massively Parallel Quantum Chemistry package.
 
 mpqc::detail
 

Functions

template<typename Tile , std::enable_if_t< TA::detail::is_contiguous_tensor_v< Tile >> * = nullptr>
unsigned long mpqc::detail::tile_clr_storage (Tile const &)
 
template<typename TileType , typename Policy >
std::array< double, 3 > mpqc::detail::array_storage (TA::DistArrayVector< TileType, Policy > const &A)
 
template<typename TileType , typename Policy >
std::array< double, 3 > mpqc::detail::array_storage (TA::DistArray< TileType, Policy > const &A)
 
template<typename Tile , typename Policy , typename = typename std::enable_if< TA::detail::is_numeric<typename Tile::value_type>::value>::type>
std::vector< std::size_t > mpqc::detail::array_rank_sizes (const TA::DistArray< Tile, Policy > &A)
 reports array size (in bytes) on each process More...
 
template<typename Tile , typename Policy >
double mpqc::detail::array_size (const TA::DistArray< Tile, Policy > &A)
 reports the total size of an array's tiles (in gigabytes) More...
 
template<typename Tile , typename Policy >
double mpqc::detail::array_size (const std::vector< TA::DistArray< Tile, Policy >> &As)
 reports the total size of an array set's tiles (in gigabytes) More...
 
template<typename Array >
void mpqc::detail::print_size_info (Array const &A, std::string const &name)
 
template<typename T , int Row>
void mpqc::detail::write_eigen_mat_to_csv (Eigen::Matrix< T, Eigen::Dynamic, Eigen::Dynamic, Row > const &mat, std::string const &file_name)
 
template<typename Array >
void mpqc::detail::write_array_to_csv (Array const &A, std::string const &file_name)
 Writes a DistArray in a matricized form to a csv file. More...
 
std::size_t mpqc::detail::average_blocksize (TA::TiledRange1 tr1)
 
std::pair< std::size_t, std::size_t > mpqc::detail::minmax_blocksize (TiledArray::TiledRange1 tr1)
 
void mpqc::detail::print_range_info (const TA::TiledRange1 &bs_range, const std::string &name)