Package cern.colt.matrix.linalg
Class Smp
java.lang.Object
cern.colt.matrix.linalg.Smp
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected int
protected EDU.oswego.cs.dl.util.concurrent.FJTaskRunnerGroup
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Smp
(int maxThreads) Constructs a new Smp using a maximum of maxThreads threads. -
Method Summary
Modifier and TypeMethodDescriptionvoid
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()
.
-
Field Details
-
taskGroup
protected EDU.oswego.cs.dl.util.concurrent.FJTaskRunnerGroup taskGroup -
maxThreads
protected int maxThreads
-
-
Constructor Details
-
Smp
protected Smp(int maxThreads) Constructs a new Smp using a maximum of maxThreads threads.
-
-
Method Details
-
finalize
public void finalize()Clean up deamon threads, if necessary. -
run
protected void run(DoubleMatrix2D[] blocksA, DoubleMatrix2D[] blocksB, double[] results, Matrix2DMatrix2DFunction function) -
splitBlockedNN
-
splitBlockedNN
protected DoubleMatrix2D[][] splitBlockedNN(DoubleMatrix2D A, DoubleMatrix2D B, int threshold, long flops) -
splitStridedNN
-
stats
public void stats()Prints various snapshot statistics to System.out; Simply delegates toFJTaskRunnerGroup.stats()
.
-