MADNESS
0.10.1
|
a batch consists of a 2D-input batch and a 1D-output batch: K-batch <- (I-batch, J-batch) More...
#include <macrotaskpartitioner.h>
Public Member Functions | |
Batch () | |
Batch (Batch_1D input1, Batch_1D input2, Batch_1D result) | |
Batch (Batch_1D input1, Batch_1D result) | |
Batch (const Batch &other) | |
template<typename tupleT > | |
tupleT | copy_input_batch (const tupleT &arg) const |
select the relevant vector elements from the argument tuple More... | |
template<typename vecT > | |
vecT | insert_result_batch (vecT v, const vecT &v_batch) const |
copy v_batch into the result vector More... | |
Batch & | operator= (const Batch &other) |
std::size_t | size_of_input () const |
Public Attributes | |
std::vector< Batch_1D > | input |
Batch_1D | result |
Friends | |
class | MacroTaskPartitioner |
std::ostream & | operator<< (std::ostream &os, const Batch &batch) |
pretty print this batch More... | |
a batch consists of a 2D-input batch and a 1D-output batch: K-batch <- (I-batch, J-batch)
|
inline |
|
inline |
|
inline |
select the relevant vector elements from the argument tuple
References madness::arg(), input, and MADNESS_CHECK.
Referenced by test_batch().
|
inline |
|
inline |
References input, result, and madness::Batch_1D::size().
Referenced by madness::MacroTaskPartitioner::compute_priority().
|
friend |
|
friend |
pretty print this batch
std::vector<Batch_1D> madness::Batch::input |
Batch_1D madness::Batch::result |
Referenced by insert_result_batch(), madness::MP3::MacroTaskMP3::operator()(), operator=(), and size_of_input().