|
docc 0.8.3 (0d44999b)
C++ API Reference
|
Dispatches to the actual NodeDispatcher based on the Reduce's schedule type and the ReduceDispatcherRegistry. More...
#include <sdfg/codegen/dispatchers/reduce_dispatcher.h>
Additional Inherited Members | |
| Protected Member Functions inherited from sdfg::codegen::NodeDispatcher | |
| virtual bool | begin_node (PrettyPrinter &stream) |
| virtual void | end_node (PrettyPrinter &stream, bool has_declaration) |
| Protected Attributes inherited from sdfg::codegen::NodeDispatcher | |
| LanguageExtension & | language_extension_ |
| StructuredSDFG & | sdfg_ |
| InstrumentationPlan & | instrumentation_plan_ |
| ArgCapturePlan & | arg_capture_plan_ |
| analysis::AnalysisManager & | analysis_manager_ |
Dispatches to the actual NodeDispatcher based on the Reduce's schedule type and the ReduceDispatcherRegistry.
Mirrors SchedTypeMapDispatcher: this is the dispatcher registered for typeid(structured_control_flow::Reduce) in the NodeDispatcherRegistry. It looks up the concrete, schedule-specific dispatcher (sequential, OpenMP, ...) in the ReduceDispatcherRegistry and delegates to it.
| sdfg::codegen::SchedTypeReduceDispatcher::SchedTypeReduceDispatcher | ( | LanguageExtension & | language_extension, |
| StructuredSDFG & | sdfg, | ||
| analysis::AnalysisManager & | analysis_manager, | ||
| structured_control_flow::Reduce & | node, | ||
| InstrumentationPlan & | instrumentation_plan, | ||
| ArgCapturePlan & | arg_capture_plan ) |
|
overridevirtual |
Reimplemented from sdfg::codegen::NodeDispatcher.
|
inlineoverridevirtual |
Implements sdfg::codegen::NodeDispatcher.
|
overridevirtual |
Bad design.
We already have fields in this class and have to bind an instance to a single node. Just set a field to sth. of the instrumentation plan where the node can register more details. But this is a breaking change
Reimplemented from sdfg::codegen::NodeDispatcher.