docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
omp_transform.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace sdfg {
7namespace transformations {
8
21
22public:
28
33 virtual std::string name() const override;
34
41 virtual bool
43
49 virtual void apply(builder::StructuredSDFGBuilder& builder, analysis::AnalysisManager& analysis_manager) override;
50
55 virtual void to_json(nlohmann::json& j) const override;
56
64};
65
66} // namespace transformations
67} // 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
virtual void apply(builder::StructuredSDFGBuilder &builder, analysis::AnalysisManager &analysis_manager) override
Apply the OMPTransform transformation.
virtual bool can_be_applied(builder::StructuredSDFGBuilder &builder, analysis::AnalysisManager &analysis_manager) override
Check if this transformation can be applied.
OMPTransform(structured_control_flow::Map &map)
Construct a OMPTransform transformation.
virtual std::string name() const override
Get the name of this transformation.
virtual void to_json(nlohmann::json &j) const override
Serialize this transformation to JSON.
static OMPTransform from_json(builder::StructuredSDFGBuilder &builder, const nlohmann::json &j)
Deserialize a OMPTransform transformation from JSON.
Base class for all SDFG transformations.
Definition transformation.h:25
Definition function_builder.h:10
Definition loop_parallelization.h:8
Definition analysis.h:7