mptensor
v0.3.0
Parallel Library for Tensor Network Methods
|
Functions | |
std::string | binary_filename (const std::string &prefix, int comm_rank) |
std::string | index_filename (const std::string &prefix, int comm_rank) |
template<typename C > | |
void | load_binary (const std::string &prefix, int comm_rank, C *data_head, std::size_t local_size) |
template<template< typename > class Matrix, typename C > | |
void | load_local_files (const std::string &prefix, int comm_rank, size_t &local_size, std::vector< int > &dest_rank, std::vector< size_t > &local_idx, std::vector< C > &data, const Matrix< C > &mat) |
template<template< typename > class Matrix, typename C > | |
void | load_scalapack (const std::string &prefix, int loaded_comm_size, Matrix< C > &mat) |
Variables | |
constexpr bool | debug = true |
|
inline |
|
inline |
void mptensor::io_helper::load_binary | ( | const std::string & | prefix, |
int | comm_rank, | ||
C * | data_head, | ||
std::size_t | local_size | ||
) |
void mptensor::io_helper::load_local_files | ( | const std::string & | prefix, |
int | comm_rank, | ||
size_t & | local_size, | ||
std::vector< int > & | dest_rank, | ||
std::vector< size_t > & | local_idx, | ||
std::vector< C > & | data, | ||
const Matrix< C > & | mat | ||
) |
void mptensor::io_helper::load_scalapack | ( | const std::string & | prefix, |
int | loaded_comm_size, | ||
Matrix< C > & | mat | ||
) |
|
constexpr |