Package cern.colt.matrix.linalg
Class Smp
- java.lang.Object
-
- cern.colt.matrix.linalg.Smp
-
class Smp extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected int
maxThreads
protected EDU.oswego.cs.dl.util.concurrent.FJTaskRunnerGroup
taskGroup
-
Constructor Summary
Constructors Modifier Constructor Description protected
Smp(int maxThreads)
Constructs a new Smp using a maximum of maxThreads threads.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finalize()
Clean up deamon threads, if necessary.protected void
run(DoubleMatrix2D[] blocksA, DoubleMatrix2D[] blocksB, double[] results, Matrix2DMatrix2DFunction function)
protected DoubleMatrix2D[]
splitBlockedNN(DoubleMatrix2D A, int threshold, long flops)
protected DoubleMatrix2D[][]
splitBlockedNN(DoubleMatrix2D A, DoubleMatrix2D B, int threshold, long flops)
protected DoubleMatrix2D[]
splitStridedNN(DoubleMatrix2D A, int threshold, long flops)
void
stats()
Prints various snapshot statistics to System.out; Simply delegates toFJTaskRunnerGroup.stats()
.
-
-
-
Method Detail
-
finalize
public void finalize()
Clean up deamon threads, if necessary.- Overrides:
finalize
in classjava.lang.Object
-
run
protected void run(DoubleMatrix2D[] blocksA, DoubleMatrix2D[] blocksB, double[] results, Matrix2DMatrix2DFunction function)
-
splitBlockedNN
protected DoubleMatrix2D[] splitBlockedNN(DoubleMatrix2D A, int threshold, long flops)
-
splitBlockedNN
protected DoubleMatrix2D[][] splitBlockedNN(DoubleMatrix2D A, DoubleMatrix2D B, int threshold, long flops)
-
splitStridedNN
protected DoubleMatrix2D[] splitStridedNN(DoubleMatrix2D A, int threshold, long flops)
-
stats
public void stats()
Prints various snapshot statistics to System.out; Simply delegates toFJTaskRunnerGroup.stats()
.
-
-