|
MADNESS 0.10.1
|
#include <macrotaskq.h>

Classes | |
| struct | is_vector |
| struct | is_vector< std::vector< Q > > |
| class | MacroTaskInternal |
Public Member Functions | |
| MacroTask (World &world, taskT &task) | |
| constructor takes the task, but no arguments to the task | |
| MacroTask (World &world, taskT &task, const MacroTaskQFactory factory) | |
| constructor takes task and a taskq factory for customization, immediate execution | |
| MacroTask (World &world, taskT &task, std::shared_ptr< MacroTaskQ > taskq_ptr) | |
| constructor takes the task, and a taskq, execution is not immediate | |
| std::shared_ptr< MacroTaskQ > | get_taskq () const |
| template<typename ... Ts> | |
| resultT | operator() (const Ts &... args) |
| this mimicks the original call to the task functor, called from the universe | |
| MacroTask & | set_debug (const bool value) |
Private Types | |
| typedef taskT::argtupleT | argtupleT |
| using | partitionT = MacroTaskPartitioner::partitionT |
| typedef Cloud::recordlistT | recordlistT |
| typedef taskT::resultT | resultT |
Private Member Functions | |
| recordlistT | prepare_output_records (Cloud &cloud, resultT &result) |
| store pointers to the result WorldObject in the cloud and return the recordlist | |
Private Attributes | |
| bool | debug =false |
| bool | immediate_execution =false |
| taskT | task |
| std::shared_ptr< MacroTaskQ > | taskq_ptr |
| World & | world |
|
private |
|
private |
|
private |
|
private |
|
inlineexplicit |
constructor takes the task, but no arguments to the task
References madness::MacroTask< taskT >::immediate_execution.
|
inlineexplicit |
constructor takes task and a taskq factory for customization, immediate execution
References madness::MacroTask< taskT >::immediate_execution.
|
inlineexplicit |
constructor takes the task, and a taskq, execution is not immediate
References madness::MacroTask< taskT >::debug, madness::MacroTask< taskT >::immediate_execution, madness::nonlinear_vector_solver(), madness::MacroTaskInfo::to_cloud_storage_policy(), and madness::MacroTask< taskT >::world.
|
inline |
References madness::MacroTask< taskT >::taskq_ptr.
|
inline |
this mimicks the original call to the task functor, called from the universe
store all input to the cloud, create output Function<T,NDIM> in the universe, create the batched task and shove it into the taskq. Possibly execute the taskq.
References madness::MacroTask< taskT >::debug, madness::MacroTask< taskT >::immediate_execution, madness::nonlinear_vector_solver(), madness::MacroTask< taskT >::prepare_output_records(), madness::print(), madness::World::rank(), madness::World::size(), madness::MacroTask< taskT >::task, madness::MacroTask< taskT >::taskq_ptr, and madness::MacroTask< taskT >::world.
|
inlineprivate |
store pointers to the result WorldObject in the cloud and return the recordlist
References madness::MacroTask< taskT >::debug, madness::get_impl(), MADNESS_EXCEPTION, madness::nonlinear_vector_solver(), madness::print(), madness::Cloud::store(), v, and madness::MacroTask< taskT >::world.
Referenced by madness::MacroTask< taskT >::operator()().
|
inline |
References madness::MacroTask< taskT >::debug.
|
private |
Referenced by madness::MacroTask< taskT >::operator()().
|
private |
Referenced by madness::MacroTask< taskT >::get_taskq(), and madness::MacroTask< taskT >::operator()().
|
private |