Package org.apfloat.aparapi
Class LongAparapiMatrixStrategy
java.lang.Object
org.apfloat.aparapi.LongAparapiMatrixStrategy
- All Implemented Interfaces:
MatrixStrategy
Matrix transposition in the GPU for the
long
type.- Since:
- 1.8.3
- Version:
- 1.8.3
- Author:
- Mikko Tommila
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
permuteToDoubleWidth(ArrayAccess arrayAccess, int n1, int n2)
void
permuteToHalfWidth(ArrayAccess arrayAccess, int n1, int n2)
void
transpose(ArrayAccess arrayAccess, int n1, int n2)
void
transposeSquare(ArrayAccess arrayAccess, int n1, int n2)
-
Constructor Details
-
LongAparapiMatrixStrategy
public LongAparapiMatrixStrategy()Default constructor.
-
-
Method Details
-
transpose
- Specified by:
transpose
in interfaceMatrixStrategy
- Throws:
ApfloatRuntimeException
-
transposeSquare
public void transposeSquare(ArrayAccess arrayAccess, int n1, int n2) throws ApfloatRuntimeException- Specified by:
transposeSquare
in interfaceMatrixStrategy
- Throws:
ApfloatRuntimeException
-
permuteToHalfWidth
public void permuteToHalfWidth(ArrayAccess arrayAccess, int n1, int n2) throws ApfloatRuntimeException- Specified by:
permuteToHalfWidth
in interfaceMatrixStrategy
- Throws:
ApfloatRuntimeException
-
permuteToDoubleWidth
public void permuteToDoubleWidth(ArrayAccess arrayAccess, int n1, int n2) throws ApfloatRuntimeException- Specified by:
permuteToDoubleWidth
in interfaceMatrixStrategy
- Throws:
ApfloatRuntimeException
-