docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
gpu_condition_propagation.h
Go to the documentation of this file.
1#pragma once
2
9
10namespace sdfg {
11namespace transformations {
12
14private:
16
17public:
19
21
23
24 virtual std::string name() const override;
25
26 virtual void to_json(nlohmann::json& j) const override;
27
29};
30
37private:
39
40public:
42
44
46
47 virtual std::string name() const override;
48
49 virtual void to_json(nlohmann::json& j) const override;
50
52};
53
64
65} // namespace transformations
66} // 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
A control flow node representing a basic block with dataflow computations.
Definition block.h:42
Base class for all structured control flow nodes in a StructuredSDFG.
Definition control_flow_node.h:44
Represents a parallel map loop with configurable scheduling.
Definition map.h:47
Base class for structured loop constructs.
Definition structured_loop.h:244
bool accept(structured_control_flow::Block &node) override
bool visit(structured_control_flow::ControlFlowNode *node)
BarrierFinder(builder::StructuredSDFGBuilder &builder, sdfg::analysis::AnalysisManager &analysis_manager)
GPUConditionPropagationScope(structured_control_flow::StructuredLoop &root)
virtual std::string name() const override
Get the name of this transformation.
static GPUConditionPropagationScope from_json(builder::StructuredSDFGBuilder &builder, const nlohmann::json &j)
bool can_be_applied(builder::StructuredSDFGBuilder &builder, analysis::AnalysisManager &analysis_manager) override
Check if this transformation can be safely applied.
void apply(builder::StructuredSDFGBuilder &builder, analysis::AnalysisManager &analysis_manager) override
Apply this transformation to the SDFG.
virtual void to_json(nlohmann::json &j) const override
Serialize this transformation to JSON.
virtual void to_json(nlohmann::json &j) const override
Serialize this transformation to JSON.
bool can_be_applied(builder::StructuredSDFGBuilder &builder, analysis::AnalysisManager &analysis_manager) override
Check if this transformation can be safely applied.
virtual std::string name() const override
Get the name of this transformation.
GPUConditionPropagation(structured_control_flow::Map &map_)
void apply(builder::StructuredSDFGBuilder &builder, analysis::AnalysisManager &analysis_manager) override
Apply this transformation to the SDFG.
static GPUConditionPropagation from_json(builder::StructuredSDFGBuilder &builder, const nlohmann::json &j)
Base class for all SDFG transformations.
Definition transformation.h:25
Very specific implementation, that technically visits the SDFG of an StructuredSDFGBuilder and not ju...
Definition structured_sdfg_visitor.h:16
virtual bool accept(structured_control_flow::Block &node)
Definition function_builder.h:10
Definition loop_parallelization.h:8
Definition analysis.h:7