|
| manager (const size_t index) |
| Workflow manager constructor.
|
|
void | add_preitem (graph::input_nodes< T, SAFE_MATH > in, graph::output_nodes< T, SAFE_MATH > out, graph::map_nodes< T, SAFE_MATH > maps, graph::shared_random_state< T, SAFE_MATH > state, const std::string name, const size_t size) |
| Add a pre workflow item.
|
|
void | add_item (graph::input_nodes< T, SAFE_MATH > in, graph::output_nodes< T, SAFE_MATH > out, graph::map_nodes< T, SAFE_MATH > maps, graph::shared_random_state< T, SAFE_MATH > state, const std::string name, const size_t size) |
| Add a workflow item.
|
|
void | add_converge_item (graph::input_nodes< T, SAFE_MATH > in, graph::output_nodes< T, SAFE_MATH > out, graph::map_nodes< T, SAFE_MATH > maps, graph::shared_random_state< T, SAFE_MATH > state, const std::string name, const size_t size, const T tol=1.0E-30, const size_t max_iter=1000) |
| Add a converge item.
|
|
void | compile () |
| Compile the workflow items.
|
|
void | pre_run () |
| Run prework items.
|
|
void | run () |
| Run work items.
|
|
void | wait () |
| Wait for GPU queue to finish.
|
|
void | copy_to_device (graph::shared_leaf< T, SAFE_MATH > &node, T *destination) |
| Copy buffer contents to the device.
|
|
void | copy_to_host (graph::shared_leaf< T, SAFE_MATH > &node, T *destination) |
| Copy contexts of buffer to host.
|
|
void | print (const size_t index, const graph::output_nodes< T, SAFE_MATH > &nodes) |
| Print results.
|
|
T | check_value (const size_t index, const graph::shared_leaf< T, SAFE_MATH > &node) |
| Check the value.
|
|
jit::context< T, SAFE_MATH > & | get_context () |
| Get the jit context.
|
|
template<
jit::float_scalar T, bool SAFE_MATH = false>
class workflow::manager< T, SAFE_MATH >
Class representing a workflow manager.
- Template Parameters
-
T | Base type of the calculation. |
SAFE_MATH | Use Safe Math operations. |