|
Kompute
|
#include <OpMult.hpp>


Public Member Functions | |
| OpMult (std::vector< std::shared_ptr< Tensor >> tensors, std::shared_ptr< Algorithm > algorithm) | |
| ~OpMult () override | |
Public Member Functions inherited from kp::OpAlgoDispatch | |
| template<typename T = float> | |
| OpAlgoDispatch (const std::shared_ptr< kp::Algorithm > &algorithm, const std::vector< T > &pushConstants={}) | |
| virtual | ~OpAlgoDispatch () override |
| virtual void | record (const vk::CommandBuffer &commandBuffer) override |
| virtual void | preEval (const vk::CommandBuffer &commandBuffer) override |
| virtual void | postEval (const vk::CommandBuffer &commandBuffer) override |
Public Member Functions inherited from kp::OpBase | |
| virtual | ~OpBase () |
Operation that performs multiplication on two tensors and outpus on third tensor.
|
inline |
Default constructor with parameters that provides the bare minimum requirements for the operations to be able to create and manage their sub-components.
| tensors | Tensors that are to be used in this operation |
| algorithm | An algorithm that will be overridden with the OpMult shader data and the tensors provided which are expected to be 3 |
|
inlineoverride |
Default destructor, which is in charge of destroying the algorithm components but does not destroy the underlying tensors