class
SushiBLAS::Dispatch::GemmEpilogue
template <typename Epilogue>Holds a GEMM epilogue functor together with the regions it reads and writes.
- Declared in
include/SushiBLAS/engine/blas/dispatch.hpp
Template parameters
EpilogueThe functor type, under the contract execute_gemm states for a bare one.
See also
include/SushiBLAS/engine/blas/README.md
Public member functions
explicit GemmEpilogue(Epilogue functor)Wraps functor, declaring nothing yet.
GemmEpilogue & reads(const Tensor &operand)Declares that the epilogue reads operand.
Returns
*this, so declarations chain.
Exceptions
std::runtime_errorif operand has no storage.
GemmEpilogue & writes(const Tensor &operand)Declares that the epilogue writes operand.
Returns
*this, so declarations chain.
Exceptions
std::runtime_errorif operand has no storage.
See also
include/SushiBLAS/engine/blas/README.md
const Epilogue & functor() const noexceptReturns the functor itself, the only part that reaches the device.
const OperandSet & operands() const noexceptconst std::vector< SushiRuntime::Core::ResourceRegion > & read_regions() const noexceptReturns the regions declared through reads().
const std::vector< SushiRuntime::Core::ResourceRegion > & write_regions() const noexceptReturns the regions declared through writes().

