Class IntAparapiMatrixStrategy

  • All Implemented Interfaces:
    org.apfloat.spi.MatrixStrategy

    public class IntAparapiMatrixStrategy
    extends Object
    implements org.apfloat.spi.MatrixStrategy
    Matrix transposition in the GPU for the int type.
    Since:
    1.8.3
    Version:
    1.8.3
    Author:
    Mikko Tommila
    • Constructor Detail

      • IntAparapiMatrixStrategy

        public IntAparapiMatrixStrategy()
        Default constructor.
    • Method Detail

      • transpose

        public void transpose​(org.apfloat.spi.ArrayAccess arrayAccess,
                              int n1,
                              int n2)
                       throws org.apfloat.ApfloatRuntimeException
        Specified by:
        transpose in interface org.apfloat.spi.MatrixStrategy
        Throws:
        org.apfloat.ApfloatRuntimeException
      • transposeSquare

        public void transposeSquare​(org.apfloat.spi.ArrayAccess arrayAccess,
                                    int n1,
                                    int n2)
                             throws org.apfloat.ApfloatRuntimeException
        Specified by:
        transposeSquare in interface org.apfloat.spi.MatrixStrategy
        Throws:
        org.apfloat.ApfloatRuntimeException
      • permuteToHalfWidth

        public void permuteToHalfWidth​(org.apfloat.spi.ArrayAccess arrayAccess,
                                       int n1,
                                       int n2)
                                throws org.apfloat.ApfloatRuntimeException
        Specified by:
        permuteToHalfWidth in interface org.apfloat.spi.MatrixStrategy
        Throws:
        org.apfloat.ApfloatRuntimeException
      • permuteToDoubleWidth

        public void permuteToDoubleWidth​(org.apfloat.spi.ArrayAccess arrayAccess,
                                         int n1,
                                         int n2)
                                  throws org.apfloat.ApfloatRuntimeException
        Specified by:
        permuteToDoubleWidth in interface org.apfloat.spi.MatrixStrategy
        Throws:
        org.apfloat.ApfloatRuntimeException