MPSMatrixMultiplication
A matrix multiplication kernel.
Declaration
class MPSMatrixMultiplicationOverview
An MPSMatrixMultiplication object computes the following operation:
C = alpha * op(A) * op(B) + beta * C
Where A, B_,_ and C are matrices represented by MPSMatrix objects, and alpha and beta are scalar values of the same data type as the values of C. A and B may each have an optional transposition operation applied.
Matrices A, B, and C are also referred to as the left input matrix, the right input matrix, and the result matrix respectively.
Topics
Methods
init(device:transposeLeft:transposeRight:resultRows:resultColumns:interiorColumns:alpha:beta:)encode(commandBuffer:leftMatrix:rightMatrix:resultMatrix:)