Definition at line 34 of file sharder.h.
|
| using | ConstSparseColumnBlock = ::Eigen::Block< const Eigen::SparseMatrix< double, Eigen::ColMajor, int64_t >, Eigen::Dynamic, Eigen::Dynamic, true > |
| |
| using | SparseColumnBlock = ::Eigen::Block< Eigen::SparseMatrix< double, Eigen::ColMajor, int64_t >, Eigen::Dynamic, Eigen::Dynamic, true > |
| |
|
| | Sharder (int64_t num_elements, int num_shards, ThreadPool *thread_pool, const std::function< int64_t(int64_t)> &element_mass) |
| |
| | Sharder (int64_t num_elements, int num_shards, ThreadPool *thread_pool) |
| |
| | Sharder (const Eigen::SparseMatrix< double, Eigen::ColMajor, int64_t > &matrix, int num_shards, ThreadPool *thread_pool) |
| |
| | Sharder (const Sharder &other_sharder, int64_t num_elements) |
| |
| | Sharder (const Sharder &other)=default |
| |
| | Sharder (Sharder &&other)=default |
| |
| Sharder & | operator= (const Sharder &other)=default |
| |
| Sharder & | operator= (Sharder &&other)=default |
| |
| int | NumShards () const |
| |
| int64_t | NumElements () const |
| |
| int64_t | ShardSize (int shard) const |
| |
| int64_t | ShardStart (int shard) const |
| |
| int64_t | ShardMass (int shard) const |
| |
| void | ParallelForEachShard (const std::function< void(const Shard &)> &func) const |
| |
| double | ParallelSumOverShards (const std::function< double(const Shard &)> &func) const |
| |
| bool | ParallelTrueForAllShards (const std::function< bool(const Shard &)> &func) const |
| |
| const std::vector< int64_t > & | ShardStartsForTesting () const |
| |
◆ ConstSparseColumnBlock
| using ConstSparseColumnBlock = ::Eigen::Block< const Eigen::SparseMatrix<double, Eigen::ColMajor, int64_t>, Eigen::Dynamic, Eigen::Dynamic, true> |
◆ SparseColumnBlock
| using SparseColumnBlock = ::Eigen::Block<Eigen::SparseMatrix<double, Eigen::ColMajor, int64_t>, Eigen::Dynamic, Eigen::Dynamic, true> |
◆ Sharder() [1/6]
| Sharder |
( |
int64_t |
num_elements, |
|
|
int |
num_shards, |
|
|
ThreadPool * |
thread_pool, |
|
|
const std::function< int64_t(int64_t)> & |
element_mass |
|
) |
| |
◆ Sharder() [2/6]
◆ Sharder() [3/6]
| Sharder |
( |
const Eigen::SparseMatrix< double, Eigen::ColMajor, int64_t > & |
matrix, |
|
|
int |
num_shards, |
|
|
ThreadPool * |
thread_pool |
|
) |
| |
|
inline |
◆ Sharder() [4/6]
◆ Sharder() [5/6]
◆ Sharder() [6/6]
◆ NumElements()
| int64_t NumElements |
( |
| ) |
const |
|
inline |
◆ NumShards()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ ParallelForEachShard()
| void ParallelForEachShard |
( |
const std::function< void(const Shard &)> & |
func | ) |
const |
◆ ParallelSumOverShards()
| double ParallelSumOverShards |
( |
const std::function< double(const Shard &)> & |
func | ) |
const |
◆ ParallelTrueForAllShards()
| bool ParallelTrueForAllShards |
( |
const std::function< bool(const Shard &)> & |
func | ) |
const |
◆ ShardMass()
| int64_t ShardMass |
( |
int |
shard | ) |
const |
|
inline |
◆ ShardSize()
| int64_t ShardSize |
( |
int |
shard | ) |
const |
|
inline |
◆ ShardStart()
| int64_t ShardStart |
( |
int |
shard | ) |
const |
|
inline |
◆ ShardStartsForTesting()
| const std::vector<int64_t>& ShardStartsForTesting |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: