ngfx::MatrixMultiplyCPUOp
Inherits from ngfx::MatrixMultiplyOp, ngfx::ComputeOp
Public Functions
| Name | |
|---|---|
| MatrixMultiplyCPUOp(MatrixParam src0, MatrixParam src1, MatrixParam dst) | |
| virtual | ~MatrixMultiplyCPUOp() |
| virtual void | apply(CommandBuffer * commandBuffer =nullptr, Graphics * graphics =nullptr) override |
| void | update(MatrixParam src0, MatrixParam src1) override |
| void | transpose(MatrixParam & src, MatrixParam & dst) |
Protected Functions
| Name | |
|---|---|
| void | matrixMultiply() |
Protected Attributes
| Name | |
|---|---|
| std::vector< float > | src1t_data |
| MatrixParam | src0 |
| MatrixParam | src1 |
| MatrixParam | src1t |
| MatrixParam | dst |
Additional inherited members
Public Classes inherited from ngfx::MatrixMultiplyOp
| Name | |
|---|---|
| struct | MatrixParam |
Public Functions inherited from ngfx::MatrixMultiplyOp
| Name | |
|---|---|
| MatrixMultiplyOp(GraphicsContext * ctx) | |
| virtual | ~MatrixMultiplyOp() |
Public Functions inherited from ngfx::ComputeOp
| Name | |
|---|---|
| ComputeOp(GraphicsContext * ctx) | |
| virtual | ~ComputeOp() |
Protected Attributes inherited from ngfx::ComputeOp
| Name | |
|---|---|
| GraphicsContext * | ctx |
Public Functions Documentation
function MatrixMultiplyCPUOp
MatrixMultiplyCPUOp(
MatrixParam src0,
MatrixParam src1,
MatrixParam dst
)
function ~MatrixMultiplyCPUOp
virtual ~MatrixMultiplyCPUOp()
function apply
virtual void apply(
CommandBuffer * commandBuffer =nullptr,
Graphics * graphics =nullptr
) override
Reimplements: ngfx::MatrixMultiplyOp::apply
function update
void update(
MatrixParam src0,
MatrixParam src1
) override
function transpose
static void transpose(
MatrixParam & src,
MatrixParam & dst
)
Protected Functions Documentation
function matrixMultiply
void matrixMultiply()
Protected Attributes Documentation
variable src1t_data
std::vector< float > src1t_data;
variable src0
MatrixParam src0;
variable src1
MatrixParam src1;
variable src1t
MatrixParam src1t;
variable dst
MatrixParam dst;
Updated on 3 April 2021 at 20:21:51 PDT