docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
gemm.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace sdfg::rocm::blas {
7
10 codegen::LanguageExtension& language_extension,
11 const math::blas::GEMMNode& gemm_node
12);
13
15public:
17 codegen::LanguageExtension& language_extension,
18 const Function& function,
19 const data_flow::DataFlowGraph& data_flow_graph,
20 const math::blas::GEMMNode& node
21 );
22
25 codegen::PrettyPrinter& globals_stream,
26 codegen::CodeSnippetFactory& library_snippet_factory
27 ) override;
28
30};
31
33public:
35 codegen::LanguageExtension& language_extension,
36 const Function& function,
37 const data_flow::DataFlowGraph& data_flow_graph,
38 const math::blas::GEMMNode& node
39 );
40
43 codegen::PrettyPrinter& globals_stream,
44 codegen::CodeSnippetFactory& library_snippet_factory
45 ) override;
46
48};
49
50
51} // namespace sdfg::rocm::blas
Dispatchers for dataflow blocks and library nodes.
Definition function.h:43
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 language_extension.h:39
Base class for library node code generation dispatchers.
Definition block_dispatcher.h:163
Definition utils.h:16
Definition data_flow_graph.h:29
Definition gemm_node.h:16
codegen::InstrumentationInfo instrumentation_info() const override
Get instrumentation information for this node.
void dispatch_code(codegen::PrettyPrinter &stream, codegen::PrettyPrinter &globals_stream, codegen::CodeSnippetFactory &library_snippet_factory) override
Generate the operation-specific code.
GEMMNodeDispatcher_ROCMBLASWithTransfers(codegen::LanguageExtension &language_extension, const Function &function, const data_flow::DataFlowGraph &data_flow_graph, const math::blas::GEMMNode &node)
void dispatch_code(codegen::PrettyPrinter &stream, codegen::PrettyPrinter &globals_stream, codegen::CodeSnippetFactory &library_snippet_factory) override
Generate the operation-specific code.
GEMMNodeDispatcher_ROCMBLASWithoutTransfers(codegen::LanguageExtension &language_extension, const Function &function, const data_flow::DataFlowGraph &data_flow_graph, const math::blas::GEMMNode &node)
codegen::InstrumentationInfo instrumentation_info() const override
Get instrumentation information for this node.
Definition batched_gemm.h:6
void generate_kernel_gemm(codegen::PrettyPrinter &stream, codegen::LanguageExtension &language_extension, const math::blas::GEMMNode &gemm_node)