Class MPSMatrixMultiplication

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class MPSMatrixMultiplication
extends MPSKernel
Since:
Available in iOS 10.0 and later.
  • Constructor Details

    • MPSMatrixMultiplication

      public MPSMatrixMultiplication()
    • MPSMatrixMultiplication

      protected MPSMatrixMultiplication​(NSObject.Handle h, long handle)
    • MPSMatrixMultiplication

      protected MPSMatrixMultiplication​(NSObject.SkipInit skipInit)
    • MPSMatrixMultiplication

      public MPSMatrixMultiplication​(MTLDevice device, boolean transposeLeft, boolean transposeRight, long resultRows, long resultColumns, long interiorColumns, double alpha, double beta)
    • MPSMatrixMultiplication

      public MPSMatrixMultiplication​(MTLDevice device, long resultRows, long resultColumns, long interiorColumns)
      Since:
      Available in iOS 11.0 and later.
    • MPSMatrixMultiplication

      public MPSMatrixMultiplication​(NSCoder coder)
    • MPSMatrixMultiplication

      public MPSMatrixMultiplication​(NSCoder decoder, MTLDevice device)
      Since:
      Available in iOS 11.0 and later.
  • Method Details

    • getResultMatrixOrigin

      public MTLOrigin getResultMatrixOrigin()
    • setResultMatrixOrigin

      public void setResultMatrixOrigin​(MTLOrigin v)
    • getLeftMatrixOrigin

      public MTLOrigin getLeftMatrixOrigin()
    • setLeftMatrixOrigin

      public void setLeftMatrixOrigin​(MTLOrigin v)
    • getRightMatrixOrigin

      public MTLOrigin getRightMatrixOrigin()
    • setRightMatrixOrigin

      public void setRightMatrixOrigin​(MTLOrigin v)
    • getBatchStart

      public long getBatchStart()
    • setBatchStart

      public void setBatchStart​(long v)
    • getBatchSize

      public long getBatchSize()
    • setBatchSize

      public void setBatchSize​(long v)
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(MTLDevice device, boolean transposeLeft, boolean transposeRight, long resultRows, long resultColumns, long interiorColumns, double alpha, double beta)
    • init

      protected long init​(MTLDevice device, long resultRows, long resultColumns, long interiorColumns)
      Since:
      Available in iOS 11.0 and later.
    • encode

      public void encode​(MTLCommandBuffer commandBuffer, MPSMatrix leftMatrix, MPSMatrix rightMatrix, MPSMatrix resultMatrix)