docc 0.8.3 (0d44999b)
C++ API Reference
Loading...
Searching...
No Matches
batched_gemm.h
Go to the documentation of this file.
1#pragma once
2
5
6namespace sdfg::rocm::blas {
7
10 codegen::LanguageExtension& language_extension,
12 const std::string& a_name,
13 const std::string& b_name,
14 const std::string& c_name,
15 const std::string& alpha_name,
16 const std::string& beta_name
17);
18
20public:
22 codegen::LanguageExtension& language_extension,
23 const Function& function,
24 const data_flow::DataFlowGraph& data_flow_graph,
26 );
27
30 std::vector<codegen::DispatchInput>& inputs,
31 std::vector<codegen::DispatchOutput>& outputs
32 ) override;
33
35};
36
38public:
40 codegen::LanguageExtension& language_extension,
41 const Function& function,
42 const data_flow::DataFlowGraph& data_flow_graph,
44 );
45
48 std::vector<codegen::DispatchInput>& inputs,
49 std::vector<codegen::DispatchOutput>& outputs
50 ) override;
51
53};
54
55} // namespace sdfg::rocm::blas
Dispatchers for dataflow blocks and library nodes.
Definition function.h:43
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 batched_gemm_node.h:17
BatchedGEMMNodeDispatcher_ROCMBLASWithTransfers(codegen::LanguageExtension &language_extension, const Function &function, const data_flow::DataFlowGraph &data_flow_graph, const math::blas::BatchedGEMMNode &node)
void dispatch_code_with_edges(codegen::CodegenOutput &out, std::vector< codegen::DispatchInput > &inputs, std::vector< codegen::DispatchOutput > &outputs) override
codegen::InstrumentationInfo instrumentation_info() const override
Get instrumentation information for this node.
BatchedGEMMNodeDispatcher_ROCMBLASWithoutTransfers(codegen::LanguageExtension &language_extension, const Function &function, const data_flow::DataFlowGraph &data_flow_graph, const math::blas::BatchedGEMMNode &node)
void dispatch_code_with_edges(codegen::CodegenOutput &out, std::vector< codegen::DispatchInput > &inputs, std::vector< codegen::DispatchOutput > &outputs) override
codegen::InstrumentationInfo instrumentation_info() const override
Get instrumentation information for this node.
Definition batched_gemm.h:6
void generate_kernel_batched_gemm(codegen::PrettyPrinter &stream, codegen::LanguageExtension &language_extension, const math::blas::BatchedGEMMNode &node, const std::string &a_name, const std::string &b_name, const std::string &c_name, const std::string &alpha_name, const std::string &beta_name)
Definition block_dispatcher.h:108