Dispatchers for dataflow blocks and library nodes.
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
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_CUBLASWithTransfers(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_CUBLASWithoutTransfers(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 data_flow_graph.h:29
Definition gemm_node.h:16
Definition batched_gemm.h:6
void generate_kernel_gemm(codegen::PrettyPrinter &stream, codegen::LanguageExtension &language_extension, const math::blas::GEMMNode &gemm_node)