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 intmaxThreadsprotected EDU.oswego.cs.dl.util.concurrent.FJTaskRunnerGrouptaskGroup
-
Constructor Summary
Constructors Modifier Constructor Description protectedSmp(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 voidfinalize()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().
-
-
-
Method Detail
-
finalize
public void finalize()
Clean up deamon threads, if necessary.- Overrides:
finalizein 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().
-
-