docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
target.h
Go to the documentation of this file.
1#pragma once
3
8
9namespace docc::target::et {
10
11extern DoccTarget et_target;
12
15
16inline const std::string ETSOC_KERNEL_FILE_EXT = "et.cpp";
17
19
25 sdfg::analysis::AnalysisManager& analysis_manager,
26 const TargetOptions& options
27);
28
30 const sdfg::StructuredSDFG&, const sdfg::codegen::CodeSnippetFactory& snippet_factory
31);
32
33std::string
35
37 const std::filesystem::path& build_dir;
38 const std::filesystem::path& plugin_rt_dir;
39};
40
41std::filesystem::path et_build_kernel(
43 const sdfg::codegen::CodeSnippetFactory& snippet_factory,
44 const std::filesystem::path& kernel_src,
45 const EtBuildArgs& paths
46);
47
48} // namespace docc::target::et
Definition structured_sdfg.h:30
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
Originally started out as a handler for additional source files, like hardware-accelerator kernels th...
Definition code_snippet_factory.h:69
Definition gemm.h:6
std::filesystem::path et_build_kernel(const sdfg::StructuredSDFG &sdfg, const sdfg::codegen::CodeSnippetFactory &snippet_factory, const std::filesystem::path &kernel_src, const EtBuildArgs &paths)
DoccTarget et_target
std::string et_get_host_additional_compile_args(const sdfg::StructuredSDFG &, const sdfg::codegen::CodeSnippetFactory &snippet_factory)
sdfg::data_flow::ImplementationType ImplementationType_ETSOC_WithTransfers
Definition target.h:13
const std::string ETSOC_KERNEL_FILE_EXT
Definition target.h:16
void register_plugin(sdfg::plugins::Context &context)
void et_scheduling_passes(sdfg::builder::StructuredSDFGBuilder &builder, sdfg::analysis::AnalysisManager &analysis_manager, const TargetOptions &options)
sdfg::data_flow::ImplementationType ImplementationType_ETSOC_WithoutTransfers
Definition target.h:14
std::string et_get_host_additional_link_args(const sdfg::StructuredSDFG &, const sdfg::codegen::CodeSnippetFactory &snippet_factory)
StringEnum ImplementationType
Implementation type identifier for library nodes.
Definition library_node.h:75
Definition analysis.h:7
Definition targets.h:14
Definition target.h:36
const std::filesystem::path & plugin_rt_dir
Definition target.h:38
const std::filesystem::path & build_dir
Definition target.h:37
TODO this class is broken.
Definition plugins.h:28