Class MPSMatrixCopy

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol

public class MPSMatrixCopy
extends MPSKernel
Since:
Available in iOS 11.0 and later.
  • Constructor Details

    • MPSMatrixCopy

      public MPSMatrixCopy()
    • MPSMatrixCopy

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

      protected MPSMatrixCopy​(NSObject.SkipInit skipInit)
    • MPSMatrixCopy

      public MPSMatrixCopy​(MTLDevice device, long copyRows, long copyColumns, boolean sourcesAreTransposed, boolean destinationsAreTransposed)
      Since:
      Available in iOS 11.0 and later.
    • MPSMatrixCopy

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

      public MPSMatrixCopy​(NSCoder coder)
  • Method Details

    • getCopyRows

      public long getCopyRows()
    • getCopyColumns

      public long getCopyColumns()
    • isSourcesAreTransposed

      public boolean isSourcesAreTransposed()
    • isDestinationsAreTransposed

      public boolean isDestinationsAreTransposed()
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • init

      protected long init​(MTLDevice device, long copyRows, long copyColumns, boolean sourcesAreTransposed, boolean destinationsAreTransposed)
      Since:
      Available in iOS 11.0 and later.
    • encode

      public void encode​(MTLCommandBuffer commandBuffer, MPSMatrixCopyDescriptor copyDescriptor)
    • encode

      public void encode​(MTLCommandBuffer commandBuffer, MPSMatrixCopyDescriptor copyDescriptor, MPSVector rowPermuteIndices, long rowPermuteOffset, MPSVector columnPermuteIndices, long columnPermuteOffset)
    • init

      protected long init​(NSCoder decoder, MTLDevice device)
      Overrides:
      init in class MPSKernel
      Since:
      Available in iOS 11.0 and later.