Class Smp
java.lang.Object
cern.colt.matrix.linalg.Smp
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected EDU.oswego.cs.dl.util.concurrent.FJTaskRunnerGroup -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSmp(int maxThreads) Constructs a new Smp using a maximum of maxThreads threads. -
Method Summary
Modifier and TypeMethodDescriptionvoidfinalize()Clean up deamon threads, if necessary.protected voidrun(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) voidstats()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
-
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().
-