19 void dispatch_kernel_body(
23 std::vector<std::string>& scope_variables,
29 const std::string& kernel_name,
30 std::vector<std::string>& arguments_declaration
33 void dispatch_kernel_call(
35 const std::string& kernel_name,
42 std::vector<std::string>& arguments_device
45 void dispatch_kernel_preamble(
48 const std::string& kernel_name,
52 std::vector<std::string>& arguments_declaration
Definition structured_sdfg.h:30
Definition arg_capture_plan.h:36
Originally started out as a handler for additional source files, like hardware-accelerator kernels th...
Definition code_snippet_factory.h:69
Definition instrumentation_info.h:37
Definition instrumentation_plan.h:26
Definition language_extension.h:39
Base class for dispatching control flow nodes to code.
Definition node_dispatcher.h:41
ROCMMapDispatcher(codegen::LanguageExtension &language_extension, StructuredSDFG &sdfg, analysis::AnalysisManager &analysis_manager, structured_control_flow::Map &node, codegen::InstrumentationPlan &instrumentation_plan, codegen::ArgCapturePlan &arg_capture_plan)
void dispatch_node(codegen::PrettyPrinter &main_stream, codegen::PrettyPrinter &globals_stream, codegen::CodeSnippetFactory &library_snippet_factory) override
virtual codegen::InstrumentationInfo instrumentation_info() const override
Bad design.
Represents a parallel map loop with configurable scheduling.
Definition map.h:47
SymEngine::RCP< const SymEngine::Basic > Expression
Reference-counted pointer to a symbolic expression (SymEngine Basic).
Definition symbolic.h:83
SymEngine::RCP< const SymEngine::Symbol > Symbol
Reference-counted pointer to a SymEngine Symbol.
Definition symbolic.h:71
std::set< Symbol, SymEngine::RCPBasicKeyLess > SymbolSet
Ordered set of symbols.
Definition symbolic.h:95
Definition rocm_library_node_rewriter_pass.h:9
Dispatcher base class for code generation from control flow nodes.
Symbolic system for integer-based symbol analysis.