docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
map_delinearize.h
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
7
8namespace sdfg {
9namespace transformations {
10
24 std::vector<structured_control_flow::Map*> maps_;
25
26public:
28
29 std::string name() const override;
30
32
34
35 void to_json(nlohmann::json& j) const override;
36
38
40 const std::vector<structured_control_flow::Map*>& maps() const;
41};
42
43} // namespace transformations
44} // namespace sdfg
Definition analysis.h:53
Note: Even though the class references unique_ptr, it will never delete an SDFG it has a reference to...
Definition structured_sdfg_builder.h:44
Represents a parallel map loop with configurable scheduling.
Definition map.h:47
std::string name() const override
Get the name of this transformation.
static MapDelinearize from_json(builder::StructuredSDFGBuilder &builder, const nlohmann::json &j)
MapDelinearize(structured_control_flow::Map &map)
void to_json(nlohmann::json &j) const override
Serialize this transformation to JSON.
void apply(builder::StructuredSDFGBuilder &builder, analysis::AnalysisManager &analysis_manager) override
Apply this transformation to the SDFG.
const std::vector< structured_control_flow::Map * > & maps() const
The maps the map became, outermost first; empty before apply().
bool can_be_applied(builder::StructuredSDFGBuilder &builder, analysis::AnalysisManager &analysis_manager) override
Check if this transformation can be safely applied.
Base class for all SDFG transformations.
Definition transformation.h:25
Definition function_builder.h:10
Definition loop_parallelization.h:8
Definition analysis.h:7