Package jdistlib.accelerator
Interface PreparedDenseMatrix
- All Superinterfaces:
AutoCloseable
Reusable FP64 dense matrix handle; providers may retain storage on device.
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()intcolumns()voidmultiply(MatrixTranspose transpose, double alpha, double[] right, int rightColumns, double beta, double[] result) PerformsC := alpha*op(A)*B + beta*Cwith row-major B and C.default voidmultiplyBatched(MatrixTranspose transpose, double alpha, double[][] right, int rightColumns, double beta, double[][] result) introws()
-
Method Details
-
rows
int rows() -
columns
int columns() -
multiply
void multiply(MatrixTranspose transpose, double alpha, double[] right, int rightColumns, double beta, double[] result) PerformsC := alpha*op(A)*B + beta*Cwith row-major B and C. -
multiplyBatched
default void multiplyBatched(MatrixTranspose transpose, double alpha, double[][] right, int rightColumns, double beta, double[][] result) -
close
void close()- Specified by:
closein interfaceAutoCloseable
-